Re: Application not seri

2019-12-21 Thread Ernesto Reinaldo Barreiro
By the way: your avatar made me remember good times sitting together with my boy watching adventure times :-) On Sat, Dec 21, 2019 at 9:03 AM ShengChe Hsiao wrote: > Dear all > I faced a strange exception, the error message: > > A problem occurred while checking object with type: >

Re: Application not seri

2019-12-21 Thread Ernesto Reinaldo Barreiro
Hi, Instead of keeping a reference to WebApplication just use Application.get();: it is bound to thread as a threadlocal. If you need your specific instance you can always add public static MyWebApplication getInstance() { return (MyWebApplication) Application.get(); } to class

Re: Application not seri

2019-12-21 Thread Bas Gooren
Hi, The stacktrace shows you that you are passing a LoadableDetachableModel to info.sls.GMapPanel which contains a non-serializable reference to info.sls.WicketApplication$3; info.sls.WicketApplication$3 is an anonymous class inside your WicketApplication, which contains a reference to it’s