java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • HiveContext causes a NullPointer on spark
    via Stack Overflow by gloopy-rocket
    ,
    • java.lang.NullPointerException at org.apache.spark.sql.SQLConf.setConf(SQLConf.scala:588) at org.apache.spark.sql.SQLContext.setConf(SQLContext.scala:128) at org.apache.spark.sql.hive.HiveContext.hiveconf$lzycompute(HiveContext.scala:555) at org.apache.spark.sql.hive.HiveContext.hiveconf(HiveContext.scala:553) at org.apache.spark.sql.hive.HiveContext.parseSql(HiveContext.scala:333) at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:817) at Hive_Cis.DataTableReader.apply(DataTableReader.java:53) at Hive_Cis.DataTableReader.apply(DataTableReader.java:16) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912) at org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912) at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1869) at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1869) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66) at org.apache.spark.scheduler.Task.run(Task.scala:89) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.