Hi Thanks for your help... I needed one more little help from you, I just modified that kabeja-svg viewer,early it has only zoom in & zoom out facility I just added pan,rotate facility into that. I am using netbeans IDE to modify this one while running through IDE it works fine and open the file without exception all the functionality working properly.But when running through jar file on building stage of the file it throws following exceptions., 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]
