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

  1. ,

    Exception in thread "main" java.io.NotSerializableException: java.util.Hashtable$Enumerator at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSe

Solutions on the web

via Oracle Community by 807581, 1 year ago
java.io.NotSerializableException: myClass	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at java.util.LinkedList.writeObject(LinkedList.java:681)	at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1478)	at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:895)	at org.apache.catalina.session.StoreBase.writeSession(StoreBase.java:290)	at com.sun.appserv.ee.web.sessmgmt.HAStore.getInputStream(HAStore.java:2062)	at com.sun.appserv.ee.web.sessmgmt.HAStore.save(HAStore.java:1329)	at org.apache.catalina.session.PersistentManagerBase.writeSession(PersistentManagerBase.java:759)	at org.apache.catalina.session.PersistentManagerBase.processMaxIdleBackups(PersistentManagerBase.java:1097)	at com.sun.appserv.ee.web.sessmgmt.HAManagerBase.processPersistenceChecks(HAManagerBase.java:88)	at org.apache.catalina.session.PersistentManagerBase.run(PersistentManagerBase.java:1182)	at java.lang.Thread.run(Thread.java:536)