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 s d
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at org.apache.spark.streaming.DStreamGraph$$anonfun$getMaxInputStreamRememberDuration$2.apply(DStreamGraph.scala:172)	at org.apache.spark.streaming.DStreamGraph$$anonfun$getMaxInputStreamRememberDuration$2.apply(DStreamGraph.scala:172)	at scala.collection.TraversableOnce$$anonfun$maxBy$1.apply(TraversableOnce.scala:225)	at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51)	at scala.collection.IndexedSeqOptimized$class.reduceLeft(IndexedSeqOptimized.scala:68)	at scala.collection.mutable.ArrayBuffer.reduceLeft(ArrayBuffer.scala:47)	at scala.collection.TraversableOnce$class.maxBy(TraversableOnce.scala:225)	at scala.collection.AbstractTraversable.maxBy(Traversable.scala:105)	at org.apache.spark.streaming.DStreamGraph.getMaxInputStreamRememberDuration(DStreamGraph.scala:172)	at org.apache.spark.streaming.scheduler.JobGenerator.clearMetadata(JobGenerator.scala:267)	at org.apache.spark.streaming.scheduler.JobGenerator.org$apache$spark$streaming$scheduler$JobGenerator$$processEvent(JobGenerator.scala:178)	at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:83)	at org.apache.spark.streaming.scheduler.JobGenerator$$anon$1.onReceive(JobGenerator.scala:82)	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)