Title: RE: [JBoss-user] ClassCastException at PortableRemoteObject.narrow

Something in your test or app server is probably holding onto
an instance of a class that gets reloaded.  The reloaded class
is a different class instance, so the original instance can't
be cast to it.   Interesting...

-----Original Message-----
From: Brian Topping [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 20, 2002 1:11 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] ClassCastException at
PortableRemoteObject.narrow


Okay, this is curious:

I've been setting up JUnit, trying to localize this bug, figuring it's
something to do with my code.  Nothing but ClassCastException, over and over
again.

Then I turned *off* the "Reload classes every run" option on the JUnit GUI.
Suddenly my test passes.  I can run the test multiple times, turn on the
switch, down it goes, ClassCastException.  Ad nauseum, no differences from
the script.  I can reproduce this 100%.

I'm not familiar with the what this switch does, but it might be a clue into
this bug.

I'll post this information to the bug.

http://sourceforge.net/tracker/?func=detail&atid=376685&aid=562972&group_id=2
2866

-B


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to