Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
1.5
-
None
-
None
-
Operating System: All
Platform: PC
Description
var ts=SVGDoc.createElement("tspan")
set(ts,"dy","1em")
set(ts,"x",x)
var tn=SVGDoc.createTextNode("xyz")
ts.appendChild(tn)
existingText.appendChild(ts)
->
java.lang.NullPointerException
at org.apache.batik.dom.svg.SVGLocatableSupport$1.getX(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.mozilla.javascript.NativeJavaMethod.call(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.call(Unknown Source)
at org.mozilla.javascript.gen.c222.call(<SVG>:500)
at org.mozilla.javascript.ScriptRuntime.call(Unknown Source)
at org.mozilla.javascript.gen.c206.call(<SVG>:57)
at org.mozilla.javascript.optimizer.OptRuntime.callSimple(Unknown
Source)
at org.mozilla.javascript.gen.c241.call(<SVG>:1)
at org.mozilla.javascript.gen.c241.exec(<SVG>)
at org.mozilla.javascript.Context.evaluateReader(Unknown Source)
at org.apache.batik.script.rhino.RhinoInterpreter.evaluate(Unknown
Source)
at org.apache.batik.bridge.BaseScriptingEnvironment$1.handleEvent
(Unknown Source)
at org.apache.batik.dom.events.EventSupport.fireEventListeners(Unknown
Source)
at org.apache.batik.dom.events.EventSupport.dispatchEvent(Unknown
Source)
at org.apache.batik.dom.AbstractNode.dispatchEvent(Unknown Source)
at org.apache.batik.bridge.BaseScriptingEnvironment.dispatchSVGLoad
(Unknown Source)
at org.apache.batik.bridge.BaseScriptingEnvironment.dispatchSVGLoadEvent
(Unknown Source)
at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent(Unknown
Source)
at org.apache.batik.swing.svg.SVGLoadEventDispatcher.run(Unknown Source)