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:337)[scala-library-2.10.4.jar:na] at scala.collection.immutable.Nil$.head(List.scala:334)[scala-library-2.10.4.jar:na] at com.stratio.sparta.driver.util.ClusterSparkFiles.getDriverFile(ClusterSparkFiles.scala:40)[driver-0.10.0.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply$mcV$sp(ClusterLauncherActor.scala:72)[serving-api-0.10.0.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply(ClusterLauncherActor.scala:69)[serving-api-0.10.0.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply(ClusterLauncherActor.scala:69)[serving-api-0.10.0.jar:na] at scala.util.Try$.apply(Try.scala:161)[scala-library-2.10.4.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor.doInitSpartaContext(ClusterLauncherActor.scala:69)[serving-api-0.10.0.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$receive$1.applyOrElse(ClusterLauncherActor.scala:65)[serving-api-0.10.0.jar:na] at akka.actor.Actor$class.aroundReceive(Actor.scala:467)[akka-actor_2.10-2.3.11.jar:na] at com.stratio.sparta.serving.api.actor.ClusterLauncherActor.aroundReceive(ClusterLauncherActor.scala:42)[serving-api-0.10.0.jar:na] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.invoke(ActorCell.scala:487)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:220)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[akka-actor_2.10-2.3.11.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.10.4.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.10.4.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.10.4.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.10.4.jar:na]

    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