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

  2. ,
    via Stack Overflow by Matthias

    Your object contains member variables which are themselves not serializable 'ReportDataStoreRegion'. If you really want to serialize your object. One option would be to declare the variable as transient so that it is not serialized.

Solutions on the web

via openxava by javierpaniza
, 1 year ago
org.apache.catalina.core.ApplicationHttpRequest
via openxava by daviles
, 1 year ago
org.apache.catalina.core.ApplicationHttpRequest
via openxava by anitag
, 1 year ago
org.apache.catalina.core.ApplicationHttpRequest
java.io.NotSerializableException: org.apache.catalina.core.ApplicationHttpRequest	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)	at java.util.HashMap.writeObject(HashMap.java:1001)	at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)	at java.util.HashMap.writeObject(HashMap.java:1001)	at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)	at java.util.HashMap.writeObject(HashMap.java:1001)	at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)	at java.util.ArrayList.writeObject(ArrayList.java:570)	at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)	at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1673)	at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1079)	at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)	at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)	at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5643)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)	at java.lang.Thread.run(Thread.java:662)