what version are you using? can you check if this still happens with latest 1.3 wicket version?
-Matej On 3/29/07, Chan Man Kam <[EMAIL PROTECTED]> wrote: > Dear all, > > At first, I got this exception, after I click "Close this window with > result "OK"" inside the ModalWindow. > > wicket.util.io.WicketSerializeableException: Error reading field: locale > for object class: class > wicket.extensions.ajax.markup.html.modal.ModalWindow$MaskType > children->maskType > NOTE: if you feel Wicket is at fault with this exception, please report > to the mailing list. You can switch to JDK based serialization by > calling: wicket.util.lang.Objects.setObjectStreamFactory(new > IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init > method of your application > at wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:424) > at > wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) > at > wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869) > at wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414) > at > wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96) > at > wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:133) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) > at > wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869) > at wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414) > at > wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) > at wicket.util.lang.Objects.byteArrayToObject(Objects.java:397) > at wicket.protocol.http.FilePageStore.getPage(FilePageStore.java:149) > at > wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:138) > at wicket.Session.getPage(Session.java:528) > at > wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:417) > at > wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:131) > at wicket.RequestCycle.step(RequestCycle.java:1037) > at wicket.RequestCycle.steps(RequestCycle.java:1138) > at wicket.RequestCycle.request(RequestCycle.java:474) > at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:256) > at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:126) > at > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) > at > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) > at > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) > at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) > at org.mortbay.http.HttpServer.service(HttpServer.java:909) > at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) > at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > Caused by: java.lang.NullPointerException > at > wicket.util.io.ClassStreamHandler.createObject(ClassStreamHandler.java:303) > at > wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:91) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342) > at > wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869) > at wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414) > ... 35 more > > > After I include the "Objects.setObjectStreamFactory(new > IObjectStreamFactory.DefaultObjectStreamFactory());" > in the init method, the exception disappear, but the "Last modal window > result:" show nothing after I do something inside > the modal window. > > I checked that it is should not because of the ajax target cannot > refresh the the "Last modal window result:", as the callback > that run the "setResult" method cannot update the actual result field > inside the ModalWindowPage. wicket-user@lists.sourceforge.net > > Thanks, > Man Kam > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user