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 Spring JIRA by Roberto Ruiz, 2 years ago
org.springframework.aop.scope.DefaultScopedObject
via Spring JIRA by Roberto Ruiz, 1 year ago
org.springframework.aop.scope.DefaultScopedObject
java.io.NotSerializableException: org.springframework.aop.scope.DefaultScopedObject	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)	at java.util.HashMap.writeObject(HashMap.java:1001)	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:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)	at org.springframework.webflow.core.collection.LocalAttributeMap.writeObject(LocalAttributeMap.java:327)	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:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)	at org.springframework.webflow.engine.impl.FlowSessionImpl.writeExternal(FlowSessionImpl.java:154)	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)	at java.util.LinkedList.writeObject(LinkedList.java:943)	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:597)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)	at org.springframework.webflow.engine.impl.FlowExecutionImpl.writeExternal(FlowExecutionImpl.java:508)	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)	at org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshot.serialize(SerializedFlowExecutionSnapshot.java:172)	at org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshot.(SerializedFlowExecutionSnapshot.java:69)	at org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshotFactory.createSnapshot(SerializedFlowExecutionSnapshotFactory.java:70)	at org.springframework.webflow.execution.repository.snapshot.AbstractSnapshottingFlowExecutionRepository.snapshot(AbstractSnapshottingFlowExecutionRepository.java:75)	at org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository.putFlowExecution(DefaultFlowExecutionRepository.java:115)	at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:155)	at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:173)	at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:172)	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:619)