Hi Thomas, The problem was that "lib" was a symbolic link to "/usr/local/batik-1.6/lib". The symbolic link worked OK with Batik 1.5. I had to copy the Batik jars to "/var/www/html/java/lib".
Somehow your response made me think about the link. Yes, this is an applet. Thanks, Stan On Thu, 2005-04-28 at 20:30, Thomas DeWeese wrote: > Hi Stan, > > engineering wrote: > > > 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. > > I suspect that it can't get the resource file, but I must > admit that I'm unsure why. You say 'ARCHIVE' list is this > in an applet? If so the problem may be that it can't get > it's class reference? I know there are some weirdnesses > in Applets with respect to class loader accesses (which is > what getResourceAsStream uses). > > > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- 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]
