java.lang.ClassCastException: java.lang.StackTraceElement cannot be cast to java.lang.String

root42.jp | 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

    R42日記

    root42.jp | 6 months ago
    java.lang.ClassCastException: java.lang.StackTraceElement cannot be cast to java.lang.String
  2. 0

    java.lang.ClassCastException: java.io.ObjectStreamClass cannot be cast to java.lang.String

    Stack Overflow | 1 year ago | ravi
    java.lang.ClassCastException: java.io.ObjectStreamClass cannot be cast to java.lang.String
  3. 0

    visual-c++: java.lang.ClassCastException: java.io.ObjectStreamClass cannot be cast to java.lang.String

    blogspot.com | 1 year ago
    java.lang.ClassCastException: java.io.ObjectStreamClass cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Session persistence problem with devtools' autorestart

    GitHub | 1 year ago | AmitHe
    java.lang.ClassCastException: cannot assign instance of java.lang.StackTraceElement to field java.util.Collections$UnmodifiableList.list of type java.util.List in instance of java.util.Collections$UnmodifiableList
  6. 0

    Spark 1.6.0 throwing classcast exception in Cluster Mode works fine in local mode

    Stack Overflow | 1 year ago | Rahul Shukla
    java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD

  1. shiva768 1 times, last 1 year ago
  2. johnxfly 54 times, last 21 hours ago
  3. bpbhat77 2 times, last 8 months ago
11 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.ClassCastException

    java.lang.StackTraceElement cannot be cast to java.lang.String

    at java.io.ObjectInputStream.readTypeString()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readTypeString(ObjectInputStream.java:1421)
    2. java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:719)
    3. java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:833)
    4. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1609)
    5. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
    6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
    7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
    8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
    9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
    10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
    11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
    12. java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
    13. java.util.ArrayList.readObject(ArrayList.java:791)
    14. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    15. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    16. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    17. java.lang.reflect.Method.invoke(Method.java:498)
    18. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
    19. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
    20. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
    21. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
    22. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
    23. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
    24. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
    25. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
    26. java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
    26 frames
  3. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1611)
    2. org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1077)
    3. org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:218)
    4. org.apache.catalina.session.StandardManager.load(StandardManager.java:162)
    5. org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:356)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
    8. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    9. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
    10. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
    10 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames