With both rhino1_6R5 and rhino1_7R1, I'm getting the following
RuntimeException:
Exception in thread "overlay" java.lang.RuntimeException: No Context
associated with current Thread
        at org.mozilla.javascript.Context.getContext(Context.java:2206)
        at
org.mozilla.javascript.SecurityController.createLoader(SecurityController.java:
136)
        at org.mozilla.javascript.optimizer.Codegen.defineClass(Codegen.java:
143)
        at
org.mozilla.javascript.optimizer.Codegen.createScriptObject(Codegen.java:
102)
        at org.mozilla.javascript.Context.compileImpl(Context.java:2293)
        at org.mozilla.javascript.Context.compileString(Context.java:1240)
        at org.mozilla.javascript.Context.compileString(Context.java:1229)
when running 1 of our many JUnit tests.  All other JavasScript-based
JUnit tests run fine.

I've looked in previous threads on this exception message and have
ascertained that Context.enter()/exit() are never miss-paired.

Any other suggestions as to what my be going awry?

Cheers, Mike

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to