I've enabled exception printstacktrace, and I've found that when this
exception occurs, it stops the smil animation execution from that time
on.

I am starting animations with 

        Element elt = getDocument().getElementById(animId);
        boolean res = ((SVGAnimationElement) elt).beginElement();

is there a way to catch the exception and continue/reset animation?



INFO: SVGException: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.batik.anim.AnimationEngine.tick(AnimationEngine.java:389)
        at org.apache.batik.bridge.SVGAnimationEngine.access
$601(SVGAnimationEngine.java:99)
        at org.apache.batik.bridge.SVGAnimationEngine
$AnimationTickRunnable.run(SVGAnimationEngine.java:859)
        at
org.apache.batik.util.RunnableQueue.run(RunnableQueue.java:237)
        at java.lang.Thread.run(Thread.java:619)




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

Reply via email to