Hello,

I've got an application using Rhino 1.6R1 - there was no need to update it, no 
problems. :-)

Now I tried to make the step to 1.7R2.
My application compiles, so I'm not using any functionality which is gone for 
some reason - if there's such a difference between 1.6R2 and 1.7R2 at all.

But when I run the application, I end up with

java.lang.IllegalStateException: XMLList
        at 
org.mozilla.javascript.LazilyLoadedCtor.getValue(LazilyLoadedCtor.java:101)
        at 
org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:2034)
        at 
org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:287)
        at 
org.mozilla.javascript.IdScriptableObject.get(IdScriptableObject.java:387)
        at 
org.mozilla.javascript.LazilyLoadedCtor.buildValue(LazilyLoadedCtor.java:118)
        at 
org.mozilla.javascript.LazilyLoadedCtor.init(LazilyLoadedCtor.java:89)
        at 
org.mozilla.javascript.ScriptableObject.sealObject(ScriptableObject.java:1567)
        at [my class]

Anyone else experiencing such a problem? I was searching for 
IllegalStateException and XMLList - but seems there's no issue like this out 
there.

XMLList is a class within Rhino itself.
I think I read here in the past about changes to ScriptableObject.sealObject() 
- in terms of Context.enter/exit - not sure about it.
There was a fix for a problem with Rhino loading it's own properties lazy - 
suggested by wolffiex - I tried it, but it's not helping me out here (should 
it?)

I'll debug my code and step into Rhino code next. I do not use this XMLList 
class from my code - so I don't feal guilty ;-)
If I cannot fix my problem, I'll try to write a test case to demonstrate the 
problem.

Thanx
   Merten


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

Reply via email to