java.lang.NullPointerException

Stack Overflow | Javed Anwar | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.spark.sql.SQLContext.<init>()
    2. Spark Project SQL
      SQLContext.<init>
      1. org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:141)
      1 frame
    3. Spark Project Hive
      HiveContext.<init>
      1. org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:49)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    5. Spark REPL
      SparkILoop.createSQLContext
      1. org.apache.spark.repl.SparkILoop.createSQLContext(SparkILoop.scala:1027)
      1 frame
    6. Unknown
      $iwC.<init>
      1. $iwC$$iwC.<init>(<console>:9)
      2. $iwC.<init>(<console>:18)
      2 frames