tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hui Linn <huil...@brel.com>
Subject java.lang.ClassCastException
Date Thu, 07 Dec 2000 07:35:01 GMT
Hi,

This an intermitten problem that crops up once in a while.
A java object SearchResult is put into the Session object
by servlet1 and taken out by servlet2 which type cast it back
to (SearchResult), if it's not null.

Ocassionally, servlet2 will throw java.lang.ClassCastException.
However, the object retrieved is not null and it IS the
correct casting.

Did anyone encounter this before? Is there anything I might
have overlooked? 

Thanks.

Cathy


Mime
View raw message