On Tue, 22 Nov 2011 07:46:40 -0200, Jens Reufsteck <[email protected]> wrote:

Ok, seems logical. Now, I'm probably totally stupid and stuck at a different edge:

The ApplicationStateManager throws
java.lang.ClassCastException: stb.admin2.base.SessionStoredUser cannot be cast to stb.admin2.base.SessionStoredUser

Never, never, never ever put anything that isn't a component, page, mixin or class intended to be a superclass of them in a controlled package (components, pages, mixins, base). Any class there is changed during loading, so you have two different versions of the class in memory.

Solution: move SessionStoredUser to a non-Tapestry controlled package.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to