Problems with XmlManager constructor
558406May 21 2008 — edited May 27 2008I sometimes get the following error when trying to call (as part of a new development version of my XqUSEme extension in Firefox), the XmlManager constructor with an Environment and XmlManagerConfig object.
I have been able to get BDBXML 2.3.10 to work with Firefox 2 and 3 (now FF3 RC1), but version 2.4.13 only works in Firefox 2 (I didn't test interim versions). The above error only sometimes occurs, so I'm guessing it might relate to processing timing somehow (whether in the Java or C++ API or in Firefox's JavaScript/LiveConnect interpreter), perhaps because Firefox 3 is faster (but again, BDBXML 2.3.10 works in FF3 too, so it can't be all of FF's issue)?
Anything you think I can do about it?
java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSInvoke.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown Source)
... 4 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
... 14 more
Caused by: com.sleepycat.dbxml.XmlException: Uncaught exception from C++ API, errcode = INTERNAL_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.new_XmlManager(Native Method)
at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:56)
... 18 more
thanks,
Brett