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 to org.apache.wicket.authentication.AuthenticatedWebSession

I have found no information about such error. Can anybody help?

Thanks in advance!
-- 
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-tp2401398p2401398.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org