java.lang.NullPointerException

Stack Overflow | tomkou | 8 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.spark.sql.SparkSession.sessionState$lzycompute()
  2. Spark Project SQL
    SQLContext.read
    1. org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:112)
    2. org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:110)
    3. org.apache.spark.sql.DataFrameReader.<init>(DataFrameReader.scala:535)
    4. org.apache.spark.sql.SparkSession.read(SparkSession.scala:595)
    5. org.apache.spark.sql.SQLContext.read(SQLContext.scala:504)
    5 frames
  3. Unknown
    SparkJSONConsumer$1.lambda$2
    1. SparkJSONConsumer$1.lambda$2(SparkJSONConsumer.java:73)
    1 frame