java.io.NotSerializableException: myClass

Oracle Community | 807581 | 1 decade 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.NotSerializableException on Solaris not on W2K

    Oracle Community | 1 decade ago | 807581
    java.io.NotSerializableException: myClass
  2. 0

    Spring Social gives error with Enabling RedisHttpSession

    Stack Overflow | 2 years ago | Ruby
    org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: org.springframework.social.connect.support.ConnectionFactoryRegistry
  3. 0

    Non-serializable object error while working on Memcache

    Stack Overflow | 7 years ago | mehmetozer
    java.lang.IllegalArgumentException: Non-serializable object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FormattingConversionService NotSerializableException

    Stack Overflow | 2 years ago | mnpr
    java.io.NotSerializableException: org.springframework.format.support.DefaultFormattingConversionService
  6. 0

    GSON not serializable in JSF managed bean

    Stack Overflow | 5 years ago | kinkajou
    java.io.NotSerializableException: com.google.gson.Gson
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.io.NotSerializableException

    myClass

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    6. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    7. java.util.LinkedList.writeObject(LinkedList.java:681)
    8. sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source)
    9. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    10. java.lang.reflect.Method.invoke(Method.java:324)
    11. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795)
    12. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    13. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    14. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    15. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    15 frames
  3. Glassfish Core
    StoreBase.writeSession
    1. org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1478)
    2. org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:895)
    3. org.apache.catalina.session.StoreBase.writeSession(StoreBase.java:290)
    3 frames
  4. com.sun.appserv
    HAStore.save
    1. com.sun.appserv.ee.web.sessmgmt.HAStore.getInputStream(HAStore.java:2062)
    2. com.sun.appserv.ee.web.sessmgmt.HAStore.save(HAStore.java:1329)
    2 frames
  5. Glassfish Core
    PersistentManagerBase.processMaxIdleBackups
    1. org.apache.catalina.session.PersistentManagerBase.writeSession(PersistentManagerBase.java:759)
    2. org.apache.catalina.session.PersistentManagerBase.processMaxIdleBackups(PersistentManagerBase.java:1097)
    2 frames
  6. com.sun.appserv
    HAManagerBase.processPersistenceChecks
    1. com.sun.appserv.ee.web.sessmgmt.HAManagerBase.processPersistenceChecks(HAManagerBase.java:88)
    1 frame
  7. Glassfish Core
    PersistentManagerBase.run
    1. org.apache.catalina.session.PersistentManagerBase.run(PersistentManagerBase.java:1182)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:536)
    1 frame