Hi TechTeam, TechTeam <[EMAIL PROTECTED]> wrote on 04/26/2008 01:17:25 AM:
> But when running through jar file on building stage of the file it > throws following exceptions., It looks to me like you are ending up with an invalid URL at some point. The error below I think indicates that the url consists of the string 'jar' and that is it. > SVG Error: > String index out of range:4 > > java.lang.StringIndexOutOfBoundsException: String index out of range: 4 > at java.lang.String.substring(Unknown Source) > at org.apache.batik.util.ParsedURLJarProtocolHandler.parseURL(Unknown > Source) > at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) > at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) > at org.apache.batik.util.ParsedURL.<init>(Unknown Source) > at org.apache.batik.bridge.URIResolver.getNode(Unknown Source) > at org.apache.batik.bridge.BridgeContext.getReferencedNode(Unknown Source) > at org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown > Source) > at > org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(Unknown > Source) > at org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown > Source) > at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) > at org.apache.batik.bridge.GVTBuilder.build(Unknown Source) > at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source) > > I think, forgot to add some library files, that errors all related to batik > library files but I added the batik-all.jar file in the both compile and run > time libraries,why those errors are coming while running through jar.I know > , I did small mistake but I don't how to fix it, sorry if I am wasting ur > time. > > > -- > View this message in context: http://www.nabble.com/Exception-in- > loading-svg-file-tp16890708p16909543.html > Sent from the Batik - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
