EASE Rhino engine interferes with BIRT [message #1750400] |
Tue, 20 December 2016 12:16  |
Eclipse User |
|
|
|
I have EASE 0.3 and BIRT 4.5 installed on Eclipse Mars.2. BIRT uses Rhino internally for scripted data sources. EASE is configured to use the Rhino engine.
When I open the script shell I get an exception (see below). This does not happen when EASE uses the Nashorn scripting engine. Both EASE and BIRT try to initialize the Rhino engine, but this can be done only once per session.
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2016-12-20 12:00:24.707
!MESSAGE Plug-in "org.eclipse.ease.lang.javascript.rhino" was unable to instantiate class "org.eclipse.ease.lang.javascript.rhino.RhinoScriptEngine".
!STACK 0
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ease.service.EngineDescription.createEngine(EngineDescription.java:90)
at org.eclipse.ease.ui.view.ScriptShell.setEngine(ScriptShell.java:435)
at org.eclipse.ease.ui.view.ScriptShell.createPartControl(ScriptShell.java:278)
(...)
Caused by: java.lang.IllegalStateException
at org.mozilla.javascript.ContextFactory.initGlobal(ContextFactory.java:177)
at org.eclipse.ease.lang.javascript.rhino.RhinoScriptEngine.<clinit>(RhinoScriptEngine.java:55)
... 125 more
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03168 seconds