java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Piyush Kumar
, 1 year ago
This exception has no message.
via GitHub by dwijnand
, 6 months ago
This exception has no message.
via GitHub by artembilan
, 1 year ago
This exception has no message.
via GitHub by elmer-garduno
, 2 years ago
This exception has no message.
via GitHub by pgrosu
, 2 years ago
This exception has no message.
java.lang.NullPointerException:
at scala.Predef$.Integer2int(Predef.scala:392)
at org.apache.phoenix.spark.PhoenixRDD.phoenixTypeToCatalystType(PhoenixRDD.scala:148)
at org.apache.phoenix.spark.PhoenixRDD$$anonfun$phoenixSchemaToCatalystSchema$1.apply(PhoenixRDD.scala:131)
at org.apache.phoenix.spark.PhoenixRDD$$anonfun$phoenixSchemaToCatalystSchema$1.apply(PhoenixRDD.scala:130)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.apache.phoenix.spark.PhoenixRDD.phoenixSchemaToCatalystSchema(PhoenixRDD.scala:130)
at org.apache.phoenix.spark.PhoenixRDD.toDataFrame(PhoenixRDD.scala:114)
at org.apache.phoenix.spark.SparkSqlContextFunctions.phoenixTableAsDataFrame(SparkSqlContextFunctions.scala:37)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:31)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:36)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:38)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:40)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:42)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC.(:44)
at undefined.$iwC$$iwC$$iwC$$iwC.(:46)
at undefined.$iwC$$iwC$$iwC.(:48)
at undefined.$iwC$$iwC.(:50)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 7 months ago
5 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.