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 Sakai JIRA by Tim Donohue, 1 year ago
via Sakai JIRA by Tim Donohue, 2 years ago
via Sakai JIRA by Ivan Masár, 2 years ago
via Sakai JIRA by Ivan Masár, 1 year ago
java.io.NotSerializableException: org.dspace.content.CollectionServiceImpl	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)	at java.util.ArrayList.writeObject(ArrayList.java:742)	at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)