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 Hibernate JIRA by Jose Fernando Velez, 1 year ago
java.lang.reflect.Constructor
via Hibernate JIRA by Jose Fernando Velez, 1 year ago
java.lang.reflect.Constructor
via Oracle Community by 843790, 1 year ago
java.lang.reflect.Constructor
via Oracle Community by 843790, 1 year ago
via Oracle Community by 843805, 1 year ago
java.lang.reflect.Constructor
java.io.NotSerializableException: java.lang.reflect.Constructor	at java.io.ObjectOutputStream.writeObject0(Unknown Source)	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)	at java.io.ObjectOutputStream.writeObject0(Unknown Source)	at java.io.ObjectOutputStream.writeObject(Unknown Source)	at net.pagosonline.v2.internal.orion.ManejadorPersistenciaOrionTest.testSerializarGetAllClassMetadata(ManejadorPersistenciaOrionTest.java:47)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at junit.framework.TestCase.runTest(TestCase.java:154)	at junit.framework.TestCase.runBare(TestCase.java:127)	at junit.framework.TestResult$1.protect(TestResult.java:106)	at junit.framework.TestResult.runProtected(TestResult.java:124)	at junit.framework.TestResult.run(TestResult.java:109)	at junit.framework.TestCase.run(TestCase.java:118)	at junit.framework.TestSuite.runTest(TestSuite.java:208)	at junit.framework.TestSuite.run(TestSuite.java:203)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)