I'm getting a pair of exceptions when I set the svg document while the previous svg document is still loading/rendering. The JSVGCanvas has been set to ALWAYS_DYNAMIC. The svg simply contains an image element (the raster image is quite large though).
One comment is that the listeners' cancelled and failed methods don't get called in response to JSVGComponent internally calling its stopProcessing() method. Should they? exceptions on call to setSVGDocument: java.lang.NullPointerException at org.apache.batik.bridge.BridgeContext.dispose(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.setSVGDocument(Unknown Source) Exception occurred during event dispatching: java.lang.NullPointerException at org.apache.batik.bridge.BaseScriptingEnvironment.<init>(Unknown Source) at org.apache.batik.bridge.ScriptingEnvironment.<init>(Unknown Source) at org.apache.batik.bridge.UpdateManager.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.startSVGLoadEventDispatcher(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$SVGListener.gvtBuildCompleted(Unknown Source) at org.apache.batik.swing.svg.GVTTreeBuilder$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
