Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by haoyixin
, 1 year ago
head of empty list
via GitHub by haoyixin
, 1 year ago
head of empty list
via GitHub by arian
, 2 years ago
java.util.NoSuchElementException: head of empty list	at scala.collection.immutable.Nil$.head(List.scala:337)	at scala.collection.immutable.Nil$.head(List.scala:334)	at com.stratio.sparta.driver.util.ClusterSparkFiles.getDriverFile(ClusterSparkFiles.scala:40)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply$mcV$sp(ClusterLauncherActor.scala:72)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply(ClusterLauncherActor.scala:69)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$1.apply(ClusterLauncherActor.scala:69)	at scala.util.Try$.apply(Try.scala:161)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor.doInitSpartaContext(ClusterLauncherActor.scala:69)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor$$anonfun$receive$1.applyOrElse(ClusterLauncherActor.scala:65)	at akka.actor.Actor$class.aroundReceive(Actor.scala:467)	at com.stratio.sparta.serving.api.actor.ClusterLauncherActor.aroundReceive(ClusterLauncherActor.scala:42)	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)	at akka.actor.ActorCell.invoke(ActorCell.scala:487)	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)	at akka.dispatch.Mailbox.run(Mailbox.scala:220)	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)