> I'm using batik (JSVGCanvas to be precise) in one of my programs and I've > noticed a strange behaviour: batik reports a null pointer. I can't give > exact steps to reproduce the problem, but the algorithm is simple: be sure > the canvas is active and displaying some elements (works best when adding > them on a different thread) and push many, many events changing the root > element's "viewbox" attribute. SVGCanvas slows down and often stops > reporting a null pointer.
Are you following general Java scripting recommendations [1] (thread-safe [2] in particular)? Hope this helps, Helder Magalhães [1] http://xmlgraphics.apache.org/batik/using/scripting/java.html [2] http://xmlgraphics.apache.org/batik/using/scripting/java.html#Threads --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
