here we go: https://issues.apache.org/jira/browse/WICKET-367
Regards, Michel Igor Vaynberg schrieb: > create a jira issue and assign it to johan :) > > -igor > > > On 3/6/07, *Michel Wichers* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Igor, > > using the default factory works ... however a fix would be great ;-) > > Thanks for your help. > > Regards, > > Michel > > Igor Vaynberg schrieb: > > do like the message says: > > > > 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 > > > > i think there is a bug in our optimized serialization where it > doesnt > > handle proxies properly yet > > > > -igor > > > > > > > > On 3/6/07, *Michel Wichers* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>> wrote: > > > > Hi all, > > > > we received the following exception within a WebPage using > an injected > > SpringBean - HibernateSessionFactory via sublassed > > LocalSessionFactoryBean : > > > > ERROR - Objects : Error serializing object class > > de.ponton.box.core.ui.detail.Detail [object=[Page class = > > de.ponton.box.core.ui.detail.Detail , id = 0, version = 0]] > > wicket.util.io.WicketSerializeableException: Error writing > fields for > > wicket.proxy.$Proxy7 > > de.ponton.box.core.ui.detail.Detail->sessionFactory > > 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.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:806) > > at > > java.io.ObjectOutputStream.writeObject > (ObjectOutputStream.java:298) > > at > > > > wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(ClassStreamHandler.java:860) > > at > > wicket.util.io.ClassStreamHandler.writeFields > > (ClassStreamHandler.java:387) > > at > > > > wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:779) > > at > > java.io.ObjectOutputStream.writeObject > (ObjectOutputStream.java:298) > > at > wicket.util.lang.Objects.objectToByteArray(Objects.java:1102) > > at > > > wicket.protocol.http.FilePageStore.serializePage(FilePageStore.java:408) > > at > > > wicket.protocol.http.FilePageStore.access$1500(FilePageStore.java :49) > > at > > > > wicket.protocol.http.FilePageStore$PageSerializingThread.run(FilePageStore.java:705) > > at java.lang.Thread.run (Thread.java:595) > > Caused by: java.lang.NullPointerException > > at > > wicket.util.io.ClassStreamHandler.writeFields > > (ClassStreamHandler.java:397) > > at > > > > wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:779) > > ... 10 more > > ERROR - FilePageStore$PageSerializingThread : Error in page save > > thread > > java.lang.NullPointerException > > at > > > wicket.protocol.http.FilePageStore.serializePage(FilePageStore.java:413) > > at > > wicket.protocol.http.FilePageStore.access$1500 > (FilePageStore.java:49) > > at > > wicket.protocol.http.FilePageStore$PageSerializingThread.run > > (FilePageStore.java:705) > > at java.lang.Thread.run(Thread.java:595) > > shouldn't happen > > > > > > Here is the applicationContextSnippet: > > ... > > <bean id="mergedSessionFactory" > > class=" > > de.ponton.box.core.bootstrap.DynamicSessionFactoryBean " > > singleton="true"> > > <property name="dataSource"> > > <ref bean="dataSource" /> > > </property> > > .... > > > > we are subclassing LocalSessionFactoryBean from spring: > > > > ... > > public class DynamicSessionFactoryBean extends > LocalSessionFactoryBean > > { > > ... > > > > and here is the code snippet: > > .... > > @SpringBean > > SessionFactory sessionFactory; > > .... > > > > This has worked with Wicket 1.2.5... > > > > Any ideas? > > > > -- > > Best regards / Mit freundlichen Grüßen > > Michel Wichers > > > _____________________________________________________________________ > > Ponton Consulting GmbH > voice: +49.40.69213-340 > > http://www.ponton-consulting.de/ > fax: +49.40.69213-355 > > Dorotheenstrasse 60 mobile: > +49.175.566 9970 > > D-22301 > > > Hamburg mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > > _____________________________________________________________________ > > > > HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz > > Ponton Consulting is a Member of C1 Group ( www.c1-group.com > <http://www.c1-group.com> > > <http://www.c1-group.com>) > > > _____________________________________________________________________ > > > > > > > > > ------------------------------------------------------------------------- > > > > 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 > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>> > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > < 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 > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > <mailto:[email protected]> > > 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 > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Wicket-user mailing list > [email protected] > <mailto:[email protected]> > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
