java.lang.NullPointerException

Stack Overflow | vivek | 6 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. 0

    Error with running #7

    GitHub | 3 years ago | pgrosu
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error with running #6

    GitHub | 3 years ago | pgrosu
    java.lang.NullPointerException
  4. 0

    GitHub comment 24#56710184

    GitHub | 2 years ago | pgrosu
    java.lang.NullPointerException
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 scala.Predef$.Integer2int()
  2. Scala
    Predef$.Integer2int
    1. scala.Predef$.Integer2int(Predef.scala:392)
    1 frame
  3. org.apache.phoenix
    PhoenixRDD$$anonfun$phoenixSchemaToCatalystSchema$1.apply
    1. org.apache.phoenix.spark.PhoenixRDD.phoenixTypeToCatalystType(PhoenixRDD.scala:148)
    2. org.apache.phoenix.spark.PhoenixRDD$$anonfun$phoenixSchemaToCatalystSchema$1.apply(PhoenixRDD.scala:131)
    3. org.apache.phoenix.spark.PhoenixRDD$$anonfun$phoenixSchemaToCatalystSchema$1.apply(PhoenixRDD.scala:130)
    3 frames
  4. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    3. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    4. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    6. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    7. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    8. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    8 frames
  5. org.apache.phoenix
    SparkSqlContextFunctions.phoenixTableAsDataFrame
    1. org.apache.phoenix.spark.PhoenixRDD.phoenixSchemaToCatalystSchema(PhoenixRDD.scala:130)
    2. org.apache.phoenix.spark.PhoenixRDD.toDataFrame(PhoenixRDD.scala:114)
    3. org.apache.phoenix.spark.SparkSqlContextFunctions.phoenixTableAsDataFrame(SparkSqlContextFunctions.scala:37)
    3 frames
  6. Unknown
    $iwC.<init>
    1. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:31)
    2. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:36)
    3. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:38)
    4. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:40)
    5. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:42)
    6. $iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:44)
    7. $iwC$$iwC$$iwC$$iwC.<init>(<console>:46)
    8. $iwC$$iwC$$iwC.<init>(<console>:48)
    9. $iwC$$iwC.<init>(<console>:50)
    10. $iwC.<init>(<console>:52)
    10 frames