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 Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
via atlassian.com by Unknown author, 2 years ago
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
via Atlassian JIRA by Daniel Ostermeier, 1 year ago
via free.fr by Unknown author, 1 year ago
org.apache.log4j.Logger
via Google Groups by anagha22, 2 years ago
org.apache.log4j.Logger
java.io.NotSerializableException: org.apache.log4j.Logger	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.ArrayList.writeObject(ArrayList.java:530)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	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.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.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.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 org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427)	at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869)	at org.apache.catalina.session.StandardManager.unload(StandardManager.java:507)	at org.apache.catalina.session.StandardManager.stop(StandardManager.java:662)	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591)	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)	at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)	at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)	at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919)	at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)	at org.apache.catalina.core.StandardService.stop(StandardService.java:554)	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224)	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:622)