java.util.NoSuchElementException

head of empty list

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web281

  • via GitHub by pfn
    , 11 months ago
    head of empty list
  • via GitHub by nlpenguin
    , 1 year ago
    head of empty list
  • via Google Groups by Nguyen Hai, 3 weeks ago
    head of empty list
  • Stack trace

    • java.util.NoSuchElementException: head of empty list at scala.collection.immutable.Nil$.head(List.scala:420) at scala.collection.immutable.Nil$.head(List.scala:417) at scala.collection.mutable.Stack.pop(Stack.scala:140)

    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

    4 times, 1 week ago
    3 times, 1 month ago
    2 times, 3 months ago
    Once, 5 months ago
    2 times, 6 months ago
    2 more bugmates