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

Solutions on the web

via Stack Overflow by AKC
, 1 year ago
java.lang.NullPointerException: 	at org.apache.spark.storage.BlockManagerMaster.removeRdd(BlockManagerMaster.scala:104)	at org.apache.spark.SparkContext.unpersistRDD(SparkContext.scala:1623)	at org.apache.spark.rdd.RDD.unpersist(RDD.scala:203)	at org.apache.spark.streaming.dstream.DStream$$anonfun$clearMetadata$3.apply(DStream.scala:469)	at org.apache.spark.streaming.dstream.DStream$$anonfun$clearMetadata$3.apply(DStream.scala:468)	at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:107)	at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:107)	at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)	at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)	at scala.collection.mutable.HashMap$$anon$2.foreach(HashMap.scala:107)	at org.apache.spark.streaming.dstream.DStream.clearMetadata(DStream.scala:468)	at org.apache.spark.streaming.dstream.DStream$$anonfun$clearMetadata$5.apply(DStream.scala:481)	at org.apache.spark.streaming.dstream.DStream$$anonfun$clearMetadata$5.apply(DStream.scala:481)	at scala.collection.immutable.List.foreach(List.scala:318)	at org.apache.spark.streaming.dstream.DStream.clearMetadata(DStream.scala:481)	at org.apache.spark.streaming.DStreamGraph$$anonfun$clearMetadata$2.apply(DStreamGraph.scala:127)	at org.apache.spark.streaming.DStreamGraph$$anonfun$clearMetadata$2.apply(DStreamGraph.scala:127)	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)	at org.apache.spark.streaming.DStreamGraph.clearMetadata(DStreamGraph.scala:127)	at org.apache.spark.streaming.scheduler.JobGenerator.clearMetadata(JobGenerator.scala:261)	at org.apache.spark.streaming.scheduler.JobGenerator.org$apache$spark$streaming$scheduler$JobGenerator$$processEvent(JobGenerator.scala:182)	at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:87)	at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:86)	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)