Hello,

I don't see what I might have done to cause this error with Batik 1.6. 
"resources/XMLResourceDescriptor.properties" is in batik-util.jar which
is included in the ARCHIVE list along with the other Batik jars.

I have tried the binary distribution and compiling from source.

Thanks,

Stan

On Tue, 2005-04-26 at 14:42, engineering wrote:
> 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