java.util.NoSuchElementException: next on empty iterator


Solutions on the web

Solution icon of web
via grzegorzbalcerek.net by Unknown author, 1 year ago
next on empty iterator

Solution icon of github
next on empty iterator

Solution icon of github
next on empty iterator

Solution icon of github
next on empty iterator

Solution icon of github
next on empty iterator

Solution icon of github
next on empty iterator

Solution icon of github
via GitHub by raboof
, 1 year ago
next on empty iterator

Solution icon of github
via GitHub by kheradmand
, 1 year ago
next on empty iterator

Solution icon of github
next on empty iterator


Stack trace

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.LinearSeqLike$$anon$1.next(LinearSeqLike.scala:47)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 3 weeks ago
4 times, 1 month ago
Once, 10 months ago
3 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates