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 ejbca by zjl6
, 1 year ago
writing aborted; java.io.NotSerializableException: se.anatom.ejbca.common.ExtendedPKCS10CertificationRequest
via Oracle Community by SM1985, 2 years ago
writing aborted; java.io.NotSerializableException: com.hyperion.planning.HspImages>java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.hyperion.planning.HspImages
via Oracle Community by 806365, 1 year ago
writing aborted; java.io.NotSerializableException: com.hyperion.planning.HspImages>java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.hyperion.planning.HspImages
via Oracle Community by 416265, 1 year ago
writing aborted; java.io.NotSerializableException: oracle.adf.model.binding.DCBindingContainer
via Coderanch by Roel De Nijs, 1 year ago
writing aborted; java.io.NotSerializableException: java.util.HashMap$Values
via Oracle Community by 199338, 7 months ago
writing aborted; java.io.NotSerializableException: oracle.adf.view.faces.model.ChildPropertyTreeModel
java.io.NotSerializableException: se.anatom.ejbca.common.ExtendedPKCS10CertificationRequest	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)	at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1445)	at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:920)	at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)	at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)	at org.apache.catalina.session.StandardManager.stop(StandardManager.java:664)	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4255)	at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1131)	at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4358)	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:585)	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:436)	at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:407)	at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:404)	at org.jboss.web.WebModule.stopModule(WebModule.java:85)	at org.jboss.web.WebModule.stopService(WebModule.java:51)	at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320)	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224)	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)	at $Proxy0.stop(Unknown Source)	at org.jboss.system.ServiceController.stop(ServiceController.java:507)	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:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)	at $Proxy28.stop(Unknown Source)	at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:425)	at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)	at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:624)	at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:605)	at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:492)	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:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:952)	at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:927)	at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:915)