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 3004, 1 year ago
java.io.PrintWriter
java.io.NotSerializableException: java.io.PrintWriter	at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)	at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)	at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)	at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)	at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)	at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)	at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)	at weblogic.jndi.internal.SerializationTester.isSerializable(SerializationTester.java:36)	at weblogic.jndi.internal.BindingEnumeration.fixNonSerializableBindings(BindingEnumeration.java:29)	at weblogic.jndi.internal.BindingEnumeration.writeExternal(BindingEnumeration.java:48)	at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)	at weblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.java:220)	at weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)	at weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)	at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(RootNamingNode_WLSkel.java:262)	at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)	at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)	at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)	at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)	at weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher.java:115)	at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)	at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)	at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)	at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)	at weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode_WLStub.java:374)	at weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)	at javax.naming.InitialContext.listBindings(InitialContext.java:399)	at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:74)	at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)	at weblogic.management.console.pages._jndi._nav._jspService(_nav.java:169)	at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1622)	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)