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 Atlassian JIRA by Steve Smith [UK], 1 year ago
org.springframework.orm.hibernate.HibernateTransactionManager
via Atlassian JIRA by Steve Smith [UK], 1 year ago
org.springframework.orm.hibernate.HibernateTransactionManager
java.io.NotSerializableException: org.springframework.orm.hibernate.HibernateTransactionManager	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at java.util.ArrayList.writeObject(ArrayList.java:531)	at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at java.util.ArrayList.writeObject(ArrayList.java:531)	at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at java.util.ArrayList.writeObject(ArrayList.java:531)	at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)	at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2100)	at com.tangosol.util.ExternalizableHelper.internalWriteObject(ExternalizableHelper.java:2481)	at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:166)	at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.requestUpdate(ReplicatedCache.CDB:21)	at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.updateResource(ReplicatedCache.CDB:40)	at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:11)	at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:1)	at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)	at com.atlassian.confluence.cache.tangosol.TangosolCache.put(TangosolCache.java:61)	at com.atlassian.confluence.links.DefaultReferralManager.reallyGetHotReferrers(DefaultReferralManager.java:113)	at com.atlassian.confluence.links.DefaultReferralManager.getHotReferrers(DefaultReferralManager.java:71)	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:324)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)	at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)	at $Proxy29.getHotReferrers(Unknown Source)	at com.atlassian.confluence.pages.actions.ViewPageAction.getHotReferrers(ViewPageAction.java:75)	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:324)	at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:154)	at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)	at org.apache.velocity.runtime.parser.node.ASTGTNode.evaluate(ASTGTNode.java:87)	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)	at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21)	at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)	at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:117)	at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:51)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172)	at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122)	at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)	at java.lang.Thread.run(Thread.java:534)