java.io.InvalidClassException: org.apache.spark.sql.types.TimestampType$; unable to create instance

databricks.com | 6 months 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

    java.io.InvalidClassException: org.apache.spark.sql.types.TimestampType and java.lang.UnsupportedOperationException: tail of empty list - Databricks Community Forum

    databricks.com | 6 months ago
    java.io.InvalidClassException: org.apache.spark.sql.types.TimestampType$; unable to create instance
  2. 0

    java.io.InvalidClassException: org.apache.spark.sql.types.TimestampType and java.lang.UnsupportedOperationException: tail of empty list

    Stack Overflow | 1 year ago | Mohammed Khusro Siddiqui
    java.io.InvalidClassException: org.apache.spark.sql.types.TimestampType$; unable to create instance
  3. 0

    Mixin crasher

    GitHub | 4 years ago | VladUreche
    java.lang.UnsupportedOperationException: tail of empty list
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnsupportedOperationException: tail of empty list

    GitHub | 3 years ago | OlegYch
    java.lang.UnsupportedOperationException: tail of empty list
  6. 0

    Scala reflection API is not thread safe

    GitHub | 3 years ago | xuwei-k
    java.lang.UnsupportedOperationException: tail of empty list

  1. silex 1 times, last 11 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    tail of empty list

    at scala.collection.immutable.Nil$.tail()
  2. Scala
    Nil$.tail
    1. scala.collection.immutable.Nil$.tail(List.scala:339)
    2. scala.collection.immutable.Nil$.tail(List.scala:334)
    2 frames
  3. Scala
    JavaMirrors$JavaMirror.runtimeClass
    1. scala.reflect.internal.SymbolTable.popPhase(SymbolTable.scala:172)
    2. scala.reflect.internal.Symbols$Symbol.typeParams(Symbols.scala:1489)
    3. scala.reflect.internal.Types$NoArgsTypeRef.typeParams(Types.scala:2144)
    4. scala.reflect.internal.Types$TypeRef.initializedTypeParams(Types.scala:2408)
    5. scala.reflect.internal.Types$TypeRef.typeParamsMatchArgs(Types.scala:2409)
    6. scala.reflect.internal.Types$AliasTypeRef$class.dealias(Types.scala:2232)
    7. scala.reflect.internal.Types$TypeRef$anon$3.dealias(Types.scala:2539)
    8. scala.reflect.runtime.JavaMirrors$JavaMirror.typeToJavaClass(JavaMirrors.scala:1259)
    9. scala.reflect.runtime.JavaMirrors$JavaMirror.runtimeClass(JavaMirrors.scala:202)
    10. scala.reflect.runtime.JavaMirrors$JavaMirror.runtimeClass(JavaMirrors.scala:65)
    10 frames
  4. org.apache.spark
    TimestampType.<init>
    1. org.apache.spark.sql.types.AtomicType.<init>(DataType.scala:96)
    2. org.apache.spark.sql.types.TimestampType.<init>(TimestampType.scala:37)
    2 frames
  5. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedSerializationConstructorAccessor89.newInstance(Unknown Source)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    3. java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:967)
    4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1785)
    5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    6. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    17. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    18. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    19. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    20. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    20 frames
  6. Scala
    $colon$colon.readObject
    1. scala.collection.immutable.$colon$colon.readObject(List.scala:362)
    1 frame
  7. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    4. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    5. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    16 frames
  8. Scala
    $colon$colon.readObject
    1. scala.collection.immutable.$colon$colon.readObject(List.scala:362)
    1 frame
  9. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    4. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    5. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    16 frames
  10. Scala
    $colon$colon.readObject
    1. scala.collection.immutable.$colon$colon.readObject(List.scala:362)
    1 frame
  11. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    4. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    5. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    16 frames
  12. Scala
    $colon$colon.readObject
    1. scala.collection.immutable.$colon$colon.readObject(List.scala:362)
    1 frame
  13. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    4. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    5. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    16 frames
  14. Scala
    $colon$colon.readObject
    1. scala.collection.immutable.$colon$colon.readObject(List.scala:362)
    1 frame
  15. Java RT
    ObjectInputStream.readObject
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    4. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    5. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    16 frames
  16. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:69)
    2. org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:95)
    3. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:58)
    4. org.apache.spark.scheduler.Task.run(Task.scala:70)
    5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:213)
    5 frames
  17. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames