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
via Google Groups by Unknown author, 1 year ago
via GitHub by lossyrob
, 1 year ago
via GitHub by nexolute
, 2 years ago
This exception has no message.
via GitHub by mriduljain
, 1 year ago
This exception has no message.
via GitHub by Jazzpirate
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:114)	at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:114)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:32)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)	at org.apache.spark.rdd.HadoopRDD$.convertSplitLocationInfo(HadoopRDD.scala:412)	at org.apache.spark.rdd.NewHadoopRDD.getPreferredLocations(NewHadoopRDD.scala:240)	at org.apache.spark.rdd.RDD$$anonfun$preferredLocations$2.apply(RDD.scala:257)	at org.apache.spark.rdd.RDD$$anonfun$preferredLocations$2.apply(RDD.scala:257)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.preferredLocations(RDD.scala:256)	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$getPreferredLocsInternal(DAGScheduler.scala:1545)	at org.apache.spark.scheduler.DAGScheduler.getPreferredLocs(DAGScheduler.scala:1519)	at org.apache.spark.scheduler.DAGScheduler$$anonfun$15.apply(DAGScheduler.scala:974)	at org.apache.spark.scheduler.DAGScheduler$$anonfun$15.apply(DAGScheduler.scala:972)	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.spark.scheduler.DAGScheduler.submitMissingTasks(DAGScheduler.scala:972)	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$submitStage(DAGScheduler.scala:921)	at org.apache.spark.scheduler.DAGScheduler.handleJobSubmitted(DAGScheduler.scala:861)	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1607)	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1599)	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1588)	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)