Re: Serialize exceptions

2012-03-22 Thread nino martinez wael
Hi heres a part of the stacktrace, im wondering why it bypasses the proxy, I thought it would never venture beyond that: 2012-03-22 15:51:55,739 ERROR [org.apache.wicket.serialize.java.JavaSerializer] - Error serializing object class com.netdesign.wallboard.page.ViewerPage [object=[Page class =

Re: Serialize exceptions

2012-03-22 Thread Dan Retzlaff
Does WallBoardMainDataProvider return a non-static inner class that retains a reference to the non-proxied implementation? FWIW, we avoid @Inject'ed IDataProviders since they tend to retain state (filter/query params etc), and instead give them their service proxies with

Re: Serialize exceptions

2012-03-22 Thread nino martinez wael
It returnes only external named classes... Which in turn are used by another wicket panel down the road, I guess that could be the cause Will check tomorrow.. Thanks for hint. On Mar 22, 2012 5:27 PM, Dan Retzlaff dretzl...@gmail.com wrote: Does WallBoardMainDataProvider return a non-static

RE: Serialize exceptions

2012-03-21 Thread Wilhelmsen Tor Iver
Hi I get a serialize exception in a panel of mine its correct that one of the contained fields cannot be serialized, however this field are injected and should not be touched by the checker, the field are marked with the @inject annotation. I'm using guice for injection.. Any thing obvious

Re: Serialize exceptions

2012-03-21 Thread Martin Grigorov
Wicket-Guice will inject serializable Proxy. It seems Guice's plain Injector injects the binding. Check why. On Wed, Mar 21, 2012 at 9:55 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: Hi I get a serialize exception in a panel of mine its correct that one of the contained fields cannot be