java.util.NoSuchElementException: head of empty list

Google Groups | Dan | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Recovering channel with shared state

    Google Groups | 4 years ago | Dan
    java.util.NoSuchElementException: head of empty list

    Root Cause Analysis

    1. java.util.NoSuchElementException

      head of empty list

      at scala.collection.immutable.Nil$.head()
    2. Scala
      ForkJoinPool.runWorker
      1. scala.collection.immutable.Nil$.head(List.scala:328)
      2. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
      2 frames
    3. Akka Actor
      ForkJoinExecutorConfigurator$MailboxExecutionTask.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:386)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:212)
      5. akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:502)
      5 frames
    4. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      4 frames