Class cast exception
Brought to you by:
lkuoza
Using WATF 1.1...
When I try to create a new Window by using
newWindow() of a Session object I get the following
error...
java.lang.ExceptionInInitializerError:
java.lang.ClassCastException:
org.mozilla.javascript.optimizer.InvokerImpl
Note that this does not happen when I run standalone
through a main(...). It only happens if I execute the
newWindow() from within a TestCase of JUnit.
Logged In: YES
user_id=600899
correction... it happens when I try and create a Session
object not when I invoke the newWindow() method. My
guess is that there is some kind of multithread issue using
Rhino? This error occurrs when I try to execute a TestCase
from junit.swingui.TestRunner.
Logged In: YES
user_id=450572
This is a rhino bug. I posted it to rhino. If I will find a solution I
will send rhino developers a patch.