When I inserted ECMAscript code in a SVG file, my code generated following
errors.
Does anybody know why it occurred?
 
Error:
============================
In popup windows

SVG Error:
  org/mozilla/javascript/ContextAction

============================
In the console

java.lang.NullPointerException
 at org.apache.batik.bridge.UpdateManager.<init>(Unknown Source)
 at
org.apache.batik.swing.svg.AbstractJSVGComponent.startSVGLoadEventDispatcher(Unknown
Source)
 at
org.apache.batik.swing.svg.AbstractJSVGComponent$SVGListener.gvtBuildCompleted(Unknown
Source)
 at org.apache.batik.swing.svg.GVTTreeBuilder$2.dispatch(Unknown Source)
 at org.apache.batik.util.EventDispatcher.dispatchEvent(Unknown Source)
 at org.apache.batik.util.EventDispatcher.fireEvent(Unknown Source)
 at org.apache.batik.util.EventDispatcher$1.run(Unknown Source)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NoClassDefFoundError: org/mozilla/javascript/ContextAction
 at
org.apache.batik.script.rhino.RhinoInterpreterFactory.createInterpreter(Unknown
Source)
 at org.apache.batik.script.InterpreterPool.createInterpreter(Unknown
Source)
 at org.apache.batik.bridge.BridgeContext.getInterpreter(Unknown Source)
 at org.apache.batik.bridge.BaseScriptingEnvironment.getInterpreter(Unknown
Source)
 at org.apache.batik.bridge.BaseScriptingEnvironment.loadScripts(Unknown
Source)
 at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent(Unknown
Source)
 at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent(Unknown
Source)
 at org.apache.batik.swing.svg.SVGLoadEventDispatcher.run(Unknown Source)
============================
-- 
View this message in context: 
http://www.nabble.com/ECMAscript-inserting-problem-tf1979375.html#a5431118
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to