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

java.util.NoSuchElementException: next on empty iterator	at scala.collection.Iterator$$anon$2.next(Iterator.scala:39)	at scala.collection.Iterator$$anon$2.next(Iterator.scala:37)	at scala.collection.IndexedSeqLike$Elements.next(IndexedSeqLike.scala:64)	at scala.collection.IterableLike$class.head(IterableLike.scala:91)	at scala.collection.mutable.ArrayOps$ofRef.scala$collection$IndexedSeqOptimized$$super$head(ArrayOps.scala:108)	at scala.collection.IndexedSeqOptimized$class.head(IndexedSeqOptimized.scala:120)	at scala.collection.mutable.ArrayOps$ofRef.head(ArrayOps.scala:108)	at edu.berkeley.cs.amplab.sparkr.SparkRBackendHandler.handleMethodCall(SparkRBackendHandler.scala:111)	at edu.berkeley.cs.amplab.sparkr.SparkRBackendHandler.channelRead0(SparkRBackendHandler.scala:60)	at edu.berkeley.cs.amplab.sparkr.SparkRBackendHandler.channelRead0(SparkRBackendHandler.scala:22)