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 GitHub by schmmd
, 2 years ago
next on empty iterator
via GitHub by rody
, 2 years ago
next on empty iterator
via GitHub by nicmarti
, 2 years ago
next on empty iterator
via GitHub by fthomas
, 2 years ago
java.util.NoSuchElementException: next on empty iterator at scala.collection.Iterator$$anon$3.next(Iterator.scala:27) at scala.collection.Iterator$$anon$3.next(Iterator.scala:25) at scala.collection.IndexedSeqLike$Elements.next(IndexedSeqLike.scala:63) at scala.collection.IterableLike$class.head(IterableLike.scala:90) at scala.collection.mutable.ArrayOps.scala$collection$IndexedSeqOptimized$$super$head(ArrayOps.scala:38) at scala.collection.IndexedSeqOptimized$class.head(IndexedSeqOptimized.scala:121) at scala.collection.mutable.ArrayOps.head(ArrayOps.scala:38) at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:126) at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:116) at sbt.IO$.withTemporaryDirectory(IO.scala:262) at com.typesafe.sbt.packager.universal.Archives$.makeTarball(Archives.scala:116) at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:109) at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:109) at sbt.Scoped$$anonfun$hf3$1.apply(Structure.scala:579) at sbt.Scoped$$anonfun$hf3$1.apply(Structure.scala:579) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) at sbt.std.Transform$$anon$5.work(System.scala:71) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:238) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)