java.util.NoSuchElementException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 123#241199202
    via GitHub by rexim
    ,
  • Compiler crash -> head of empty list
    via GitHub by lespea
    ,
  • Compiler issue with inner class constructors?
    via by Adam Lewandowski,
  • GitHub comment 16#51504785
    via GitHub by sksamuel
    ,
    • 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 me.rexim.morganey.interpreter.MorganeyInterpreter$.computations$lzycompute$1(MorganeyInterpreter.scala:65) at me.rexim.morganey.interpreter.MorganeyInterpreter$.me$rexim$morganey$interpreter$MorganeyInterpreter$$computations$1(MorganeyInterpreter.scala:65) at me.rexim.morganey.interpreter.MorganeyInterpreter$.evalNodesComputation(MorganeyInterpreter.scala:68) at me.rexim.morganey.interpreter.MorganeyInterpreter$.loadFile(MorganeyInterpreter.scala:36) at me.rexim.morganey.interpreter.MorganeyInterpreter$.evalOneNodeComputation(MorganeyInterpreter.scala:54) at me.rexim.morganey.Main$$anonfun$2.apply(Main.scala:49) at me.rexim.morganey.Main$$anonfun$2.apply(Main.scala:48) at scala.util.Success.flatMap(Try.scala:231) at me.rexim.morganey.Main$.handleLine(Main.scala:48) at me.rexim.morganey.Main$$anonfun$3.apply(Main.scala:75) at me.rexim.morganey.Main$$anonfun$3.apply(Main.scala:75) at me.rexim.morganey.Main$.startRepl(Main.scala:81) at me.rexim.morganey.Main$.main(Main.scala:115) at me.rexim.morganey.Main.main(Main.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sbt.Run.invokeMain(Run.scala:67) at sbt.Run.run0(Run.scala:61) at sbt.Run.sbt$Run$$execute$1(Run.scala:51) at sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:55) at sbt.Run$$anonfun$run$1.apply(Run.scala:55) at sbt.Run$$anonfun$run$1.apply(Run.scala:55) at sbt.Logger$$anon$4.apply(Logger.scala:85) at sbt.TrapExit$App.run(TrapExit.scala:248) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    bandoca
    3 times, last one,
    rp
    2 times, last one,
    jokester
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates