Hi, I am having problem in loading SVG documents using the setURI() function of JSVGCanvas. I get the following exception when I attempt to load any file.: ******************************************************************************* java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at java.util.Properties.load(Unknown Source) at org.apache.batik.util.XMLResourceDescriptor.getParserProps(Unknown So urce) at org.apache.batik.util.XMLResourceDescriptor.getXMLParserClassName(Unk nown Source) at
org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.getXMLParser ClassName(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgentWrapper.getXM LParserClassName(Unknown Source) at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$1.run(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.stopThenRun(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.loadSVGDocument(Unknown Sour ce) at org.apache.batik.swing.JSVGCanvas.setURI(Unknown Source) at SVGApplication$2.actionPerformed(SVGApplication.java:66) at
javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow n Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) & |