just did this.

But then i think the Log should be: public static final Log.


which class are you talking about?  and why public?

i meant private. But loggers should be static so that you don't serialize them.


But i already made them serializeable at my place but now i get this exception


java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.reflect.Constructor
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)


so somewhere i think DefaultPageFactory? We are keeping Constructor objects in a map
So i made the constructorsForClass map transient.
(so if it get's deserialized the constructors need to be relookup but that is no problem ofcourse)


johan







-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to