Are you sure ShowDetailedPlanPage is Serializable?

Juergen

On 8/11/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> Has there been any changes between 1.2 and 1.2.1 when it comes to
> handling objects that are not serializable?
>
> In my migration from 1.2 to 1.2.1 I suddenly got this exception:
>
> WicketMessage: Internal error cloning object. Make sure all dependent
> objects implement Serializable. Class:
> se.curalia.plan.web.page.detailedplan.ShowDetailedPlanPage
>
> Root cause:
>
> java.io.NotSerializableException: se.curalia.plan.dao.jcr.Document
> 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.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.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.writeArray(ObjectOutputStream.java:1245)
> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
> 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.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.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.writeArray(ObjectOutputStream.java:1245)
> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
> 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.writeArray(ObjectOutputStream.java:1245)
> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
> 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 
> wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:57)
> at wicket.Session.setAttribute(Session.java:926)
> at wicket.PageMap.put(PageMap.java:526)
> at wicket.Session.touch(Session.java:714)
> at wicket.Page.renderPage(Page.java:422)
> at 
> wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:226)
> at 
> wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49)
> at 
> wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
> at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852)
> at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
> at wicket.RequestCycle.step(RequestCycle.java:960)
> at wicket.RequestCycle.steps(RequestCycle.java:1034)
> at wicket.RequestCycle.request(RequestCycle.java:453)
> at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
> at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
> at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:595)
>
> Complete stack:
>
> wicket.WicketRuntimeException: Internal error cloning object. Make
> sure all dependent objects implement Serializable. Class:
> se.curalia.plan.web.page.detailedplan.ShowDetailedPlanPage
> at 
> wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:63)
> at wicket.Session.setAttribute(Session.java:926)
> at wicket.PageMap.put(PageMap.java:526)
> at wicket.Session.touch(Session.java:714)
> at wicket.Page.renderPage(Page.java:422)
> at 
> wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:226)
> at 
> wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49)
> at 
> wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
> at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852)
> at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
> at wicket.RequestCycle.step(RequestCycle.java:960)
> at wicket.RequestCycle.steps(RequestCycle.java:1034)
> at wicket.RequestCycle.request(RequestCycle.java:453)
> at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to