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 qed
, 1 year ago
next on empty iterator
via GitHub by kscaldef
, 1 year ago
via GitHub by fnothaft
, 1 year ago
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:63) at scala.collection.IterableLike$class.head(IterableLike.scala:107) at scala.collection.immutable.StringOps.scala$collection$IndexedSeqOptimized$$super$head(StringOps.scala:30) at scala.collection.IndexedSeqOptimized$class.head(IndexedSeqOptimized.scala:126) at scala.collection.immutable.StringOps.head(StringOps.scala:30) at $anon$1$$anonfun$run$1.apply(<console>:23) at $anon$1$$anonfun$run$1.apply(<console>:23) at scala.collection.TraversableLike$$anonfun$groupBy$1.apply(TraversableLike.scala:332) at scala.collection.TraversableLike$$anonfun$groupBy$1.apply(TraversableLike.scala:331) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) at scala.collection.TraversableLike$class.groupBy(TraversableLike.scala:331) at scala.collection.mutable.ArrayOps$ofRef.groupBy(ArrayOps.scala:186) at $anon$1.run(<console>:23) at Helper.HasRun$class.newRun(HasRun.scala:21) at $anon$1.newRun(<console>:19)