Tested with java 7 & 8 , same issue on both versions.

On Aug 17, 2016 12:29 PM, "spats" <spatil.sud...@gmail.com> wrote:

> Cannot convert JavaRDD to DataFrame in spark 1.6.0, throws null pointer
> exception & no more details. Can't really figure out what really happening.
> Any pointer to fixes?
>
> //convert JavaRDD to DataFrame
> DataFrame schemaPeople = sqlContext.createDataFrame(people, Person.class);
>
> // exception with no more details
> Exception in thread "main" java.lang.NullPointerException
>
>
>
> --
> View this message in context: http://apache-spark-user-list.
> 1001560.n3.nabble.com/JavaRDD-to-DataFrame-fails-with-null-
> pointer-exception-in-1-6-0-tp27547.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>
>

Reply via email to