> >
> > INFO: SVGException: java.lang.NullPointerException
> > java.lang.NullPointerException
> > at
> > org.apache.batik.anim.AnimationEngine.tick(AnimationEngine.java:389)
>
>
> the line 389 of org.apache.batik.anim.AnimationEngine is:
>
> if (sandwich.shouldUpdate || sandwich.animation.isDirty)
which is the proper way to stop and remove an animation?
Element elt = getElementById(id);
if(elt!=null){
boolean res = ((SVGAnimationElement) elt).endElement();
}
and then
document.getElementById(id).getParentNode().removeChild(elt);
is this ok?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]