java.util.NoSuchElementException: head of empty list

GitHub | rexim | 4 months ago
  1. 0

    GitHub comment 123#241199202

    GitHub | 4 months ago | rexim
    java.util.NoSuchElementException: head of empty list
  2. 0

    Compiler crash -> head of empty list

    GitHub | 2 years ago | lespea
    java.util.NoSuchElementException: head of empty list
  3. 0

    Scala autocomplete NoSuchElementException

    GitHub | 2 years ago | arian
    java.util.NoSuchElementException: head of empty list
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    def foo -> Exception during compilation

    GitHub | 2 years ago | fbertra
    java.util.NoSuchElementException: head of empty list
  6. 0

    Controller: defs without parens not working

    GitHub | 2 years ago | jokade
    java.util.NoSuchElementException: head of empty list

  1. harshg 1 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.NoSuchElementException

    head of empty list

    at scala.collection.immutable.Nil$.head()
  2. Scala
    Nil$.head
    1. scala.collection.immutable.Nil$.head(List.scala:420)
    2. scala.collection.immutable.Nil$.head(List.scala:417)
    2 frames
  3. me.rexim.morganey
    Main$$anonfun$2.apply
    1. me.rexim.morganey.interpreter.MorganeyInterpreter$.computations$lzycompute$1(MorganeyInterpreter.scala:65)
    2. me.rexim.morganey.interpreter.MorganeyInterpreter$.me$rexim$morganey$interpreter$MorganeyInterpreter$$computations$1(MorganeyInterpreter.scala:65)
    3. me.rexim.morganey.interpreter.MorganeyInterpreter$.evalNodesComputation(MorganeyInterpreter.scala:68)
    4. me.rexim.morganey.interpreter.MorganeyInterpreter$.loadFile(MorganeyInterpreter.scala:36)
    5. me.rexim.morganey.interpreter.MorganeyInterpreter$.evalOneNodeComputation(MorganeyInterpreter.scala:54)
    6. me.rexim.morganey.Main$$anonfun$2.apply(Main.scala:49)
    7. me.rexim.morganey.Main$$anonfun$2.apply(Main.scala:48)
    7 frames
  4. Scala
    Success.flatMap
    1. scala.util.Success.flatMap(Try.scala:231)
    1 frame
  5. me.rexim.morganey
    Main.main
    1. me.rexim.morganey.Main$.handleLine(Main.scala:48)
    2. me.rexim.morganey.Main$$anonfun$3.apply(Main.scala:75)
    3. me.rexim.morganey.Main$$anonfun$3.apply(Main.scala:75)
    4. me.rexim.morganey.Main$.startRepl(Main.scala:81)
    5. me.rexim.morganey.Main$.main(Main.scala:115)
    6. me.rexim.morganey.Main.main(Main.scala)
    6 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. SBT
    TrapExit$App.run
    1. sbt.Run.invokeMain(Run.scala:67)
    2. sbt.Run.run0(Run.scala:61)
    3. sbt.Run.sbt$Run$$execute$1(Run.scala:51)
    4. sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:55)
    5. sbt.Run$$anonfun$run$1.apply(Run.scala:55)
    6. sbt.Run$$anonfun$run$1.apply(Run.scala:55)
    7. sbt.Logger$$anon$4.apply(Logger.scala:85)
    8. sbt.TrapExit$App.run(TrapExit.scala:248)
    8 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame