DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41955

           Summary: NullpointerException for event reference within defs
           Product: Batik
           Version: 2.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: GVT
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The SVG below triggers this exception in squiggle:

java.lang.NullPointerException
        at 
org.apache.batik.anim.timing.EventbaseTimingSpecifier.initialize(Unknown Source)
        at org.apache.batik.anim.timing.TimedElement.initialize(Unknown Source)
        at
org.apache.batik.bridge.SVGAnimationElementBridge.initializeTimedElement(Unknown
Source)
        at org.apache.batik.bridge.SVGAnimationEngine.start(Unknown Source)
        at
org.apache.batik.bridge.BaseScriptingEnvironment.dispatchSVGLoadEvent(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)


The SVG is this:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink"; viewBox="-110.00 -60.00 220.00 
220.00">

<defs>
<g id="g1">
  <circle cx="10.0" r="2.0" fill="black" id="c2" />
  <circle r="2.0">
    <set attributeName="fill" to="black" begin="c2.click" />
  </circle>
</g>
</defs>
<use xlink:href="#g1" />
</svg>

It seems to be the event reference "c2.click" that triggers the exception. It is
not triggered if the event is replaced by just "click", nor if the defs/use
decoration is removed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to