[ http://issues.ops4j.org/jira/browse/PAXWICKET-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11470 ]
David Leangen commented on PAXWICKET-23: ---------------------------------------- I am getting the following exception during deserialization. It would be really nice if PaxWicketObjectStreamFactory could provide more contextual information to help me track down the problem. As it stands, it is _very_ difficult to find where the problem is. java.lang.RuntimeException: Could not deserialize object using `org.ops4j.pax.wicket.internal.serialization.PaxWicketObjectStreamFactory` object factory at org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:406) at org.apache.wicket.protocol.http.pagestore.AbstractPageStore.deserializePage(AbstractPageStore.java:228) at org.apache.wicket.protocol.http.pagestore.DiskPageStore.getPage(DiskPageStore.java:706) at org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:311) at org.apache.wicket.Session.getPage(Session.java:751) at org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:448) at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) > Development mode for PaxWicketObjectOutputStream and > PaxWicketObjectInputStream > ------------------------------------------------------------------------------- > > Key: PAXWICKET-23 > URL: http://issues.ops4j.org/jira/browse/PAXWICKET-23 > Project: Pax Wicket > Issue Type: New Feature > Reporter: Edward Yakop > Assignee: Edward Yakop > > When pax wicket is deployed in development mode during: > Serialization. > * Replace every object with an object that consists of: > * Class name of the wrapped object > * Byte array of the wrapped object > Deserialization: > * Deserialized the byte array of the wrapped object, when that fails print > out the classname stored in > wrapped object. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general