you'd have to provide an example, otherwise we can't really help you.
Andreas iyangim wrote:
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) ============================
-- ---------------------------------------------- Andreas Neumann Institute of Cartography ETH Zurich Wolfgang-Paulistrasse 15 CH-8093 Zurich, Switzerland Phone: ++41-44-633 3031, Fax: ++41-44-633 1153 e-mail: [EMAIL PROTECTED] www: http://www.carto.net/neumann/ SVG.Open: http://www.svgopen.org/ Carto.net: http://www.carto.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
