java.lang.UnsupportedOperationException: tail of empty list

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by David Bernard, 5 months ago
via GitHub by soc
, 1 year ago
via grzegorzbalcerek.net by Unknown author, 1 year ago
tail of empty list
java.lang.UnsupportedOperationException: tail of empty list
at scala.collection.immutable.Nil$.tail(List.scala:339)
at scala.reflect.internal.SymbolTable.popPhase(SymbolTable.scala:172)
at scala.reflect.internal.Symbols$Symbol.unsafeTypeParams(Symbols.scala:1477)
at scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2777)
at scala.reflect.internal.Mirrors$RootsBase.init(Mirrors.scala:235)
at scala.reflect.runtime.JavaMirrors$class.createMirror(JavaMirrors.scala:34)
at scala.reflect.runtime.JavaMirrors$class.runtimeMirror(JavaMirrors.scala:61)
at scala.reflect.runtime.JavaUniverse.runtimeMirror(JavaUniverse.scala:12)
at org.apache.spark.sql.catalyst.ScalaReflection$.mirror(ScalaReflection.scala:36)
at org.apache.spark.sql.catalyst.ScalaReflectionSuite$$anonfun$12$$anonfun$apply$mcV$sp$1$$anonfun$apply$1$$anonfun$apply$2.apply(ScalaReflectionSuite.scala:256)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)
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)

Users with the same issue

Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.