org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession

2010-08-31 Thread v_kukhta
Hello! I have a simple wicket application which runs fine on my app server in production mode, but when i am truing to unit test it using WicketTester, it gives me this strange exception: java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast

Re: org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession

2010-08-31 Thread Wilhelmsen Tor Iver
java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession Do you make sure to specify your Appication when setting up WicketTester? Otherwise it will use a default one that will not necessarily do what

Re: org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession

2010-08-31 Thread v_kukhta
That was my mistake! Thank you, Tor Iver! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-protocol-http-WebSession-cannot-be-cast-to-org-apache-wicket-authentication-Authenn-tp2401398p2401411.html Sent from the Wicket - User mailing list archive

org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession

2009-07-20 Thread Denis Kandrov
Hi, All! I'm trying to set up testing for my JavaEEWicket Application but ran across this error message: org.apache.wicket.protocol.http.WebSession cannot be cast to org.apache.wicket.authentication.AuthenticatedWebSession I'm using JUnitEE for run my tests at Application Server. Also I found