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.

java.io.NotSerializableException: org.soluvas.category.impl.CategoryImpl	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)	at org.apache.wicket.core.util.lang.WicketObjects.cloneObject(WicketObjects.java:306)	at org.apache.wicket.core.util.lang.WicketObjects.sizeof(WicketObjects.java:425)	at org.apache.wicket.devutils.debugbar.PageSizeDebugPanel$2.getObject(PageSizeDebugPanel.java:96)	at org.apache.wicket.devutils.debugbar.PageSizeDebugPanel$2.getObject(PageSizeDebugPanel.java:89)	at org.apache.wicket.Component.getDefaultModelObject(Component.java:1605)	at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1633)	at org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:131)	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:56)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)	at org.apache.wicket.markup.html.link.AbstractLink.onComponentTagBody(AbstractLink.java:186)	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)	at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)	at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:584)	at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:573)	at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:101)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)	at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)	at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)	at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)	at org.apache.wicket.Page.onRender(Page.java:887)	at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:142)	at org.apache.wicket.Component.internalRender(Component.java:2359)	at org.apache.wicket.Component.render(Component.java:2287)	at org.apache.wicket.Page.renderPage(Page.java:1024)	at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:139)	at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:284)	at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.soluvas.web.site.servlet.ShiroPrincipalsServletFilter.doFilter(ShiroPrincipalsServletFilter.java:59)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.soluvas.web.site.servlet.MoreMdcServletFilter.doFilter(MoreMdcServletFilter.java:62)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at ch.qos.logback.classic.helpers.MDCInsertingServletFilter.doFilter(MDCInsertingServletFilter.java:51)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:123)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:171)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)