[EMAIL PROTECTED] wrote:

When i try to convert my svg file in to jpeg  i am getting the error.
I am not able to convert into jpg, Here i am giving that error.

The Null Pointer Exception should be fixed in CVS (you can get one of the nightly CVS builds off Apache if you want). The NPE in this case is happening while it is trying to build a complete error message, I can't tell what the 'root' error is from this stack trace.

   If test.svg is small you could send it to the list or just download
CVS Batik build it and see what it says.

D:\batik-1.5>java -jar batik-rasterizer.jar test.svg -m image/jpeg

About to transcode 1 SVG file(s)

Converting *.svg to *.jpg
...java.lang.NullPointerException
        at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown
Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown
Source)
        at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown
Source)
        at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
        at org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown
Source)
        at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown
Source)
        at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source)
        at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
... error (SVGConverter.error.while.rasterizing.file)


Why i am getting this error. Any help you can provide is appreciated


Regards,
RajeshB

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






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



Reply via email to