java.lang.NullPointerException

Stack Overflow | tomkou | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NullPointerException in SQLContext.read() Spark

    Stack Overflow | 7 months ago | tomkou
    java.lang.NullPointerException

    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