In Batik 1.6, I'm getting the following error when I call
JSVGCanvas.setURI():

java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:365)
        at java.util.Properties.load(Properties.java:293)
        at org.apache.batik.util.XMLResourceDescriptor.getParserProps(Unknown
Source)
        at
org.apache.batik.util.XMLResourceDescriptor.getXMLParserClassName(Unknown 
Source)
        at
org.apache.batik.swing.svg.SVGUserAgentAdapter.getXMLParserClassName(Unknown 
Source)
        at
org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.getXMLParserClassName(Unknown
 Source)
        at
org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgentWrapper.getXMLParserClassName(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
Source)
        at org.apache.batik.swing.JSVGCanvas.setURI(Unknown Source)
        at ems.SysDisplay.setURI(SysDisplay.java:3050)

This seems to be when getParserProps loads
"resources/XMLResourceDescriptor.properties".  Any thoughts?

Thanks

-- 
Stan Dickerson
Product Development Engineer
Energy Control Systems
2940 Cole Court
Norcross, GA 30071

1-800-648-0970
770-448-0651
770-446-1319 fax


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

Reply via email to