You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by jd...@earthlink.net on 2003/12/04 21:53:27 UTC

Error converting SVG to PNG

Good Day All,

When using the batik-rasterizer.jar on the attached file I get the following error:

Converting mapsApp.svg to ..\TestArea\mapsApp.png ... 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)

...Any ideas??

...Thank you in advance...

Regards,

James

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Error converting SVG to PNG

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi James,

    Please check the web site first in the future, from CVS Repository:

http://cvs.apache.org/builds/xml-batik/


James Drayton wrote:

> Where can I get the nightly dump?
> 
> -----Original Message-----
> From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com] 
> Sent: Thursday, December 04, 2003 3:58 PM
> To: Batik Users
> Subject: Re: Error converting SVG to PNG
> 
> jdiddycmsc@earthlink.net wrote:
> 
> 
> 
>>When using the batik-rasterizer.jar on the attached file I get the
> 
> following error:
> 
>>Converting mapsApp.svg to ..\TestArea\mapsApp.png ...
> 
> java.lang.NullPointerException
> 
>>        at
> 
> org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source)
> 
>>  [...]
>>...Any ideas??
> 
> 
> Hi James,
> 
>      Yes it means that there is an error in 'mapsApp.svg' but you are
> hitting a bug before it can produce the error message.  Current CVS
> will correctly generate the error message for you (which will help
> know what the error in the SVG is).  We make nightly dumps of CVS
> available if you don't want to mess with CVS directly.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


RE: Error converting SVG to PNG

Posted by James Drayton <jd...@earthlink.net>.
Where can I get the nightly dump?

-----Original Message-----
From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com] 
Sent: Thursday, December 04, 2003 3:58 PM
To: Batik Users
Subject: Re: Error converting SVG to PNG

jdiddycmsc@earthlink.net wrote:


> When using the batik-rasterizer.jar on the attached file I get the
following error:
> 
> Converting mapsApp.svg to ..\TestArea\mapsApp.png ...
java.lang.NullPointerException
>         at
org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source)
>   [...]
> ...Any ideas??

Hi James,

     Yes it means that there is an error in 'mapsApp.svg' but you are
hitting a bug before it can produce the error message.  Current CVS
will correctly generate the error message for you (which will help
know what the error in the SVG is).  We make nightly dumps of CVS
available if you don't want to mess with CVS directly.




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Error converting SVG to PNG

Posted by Thomas DeWeese <Th...@Kodak.com>.
jdiddycmsc@earthlink.net wrote:


> When using the batik-rasterizer.jar on the attached file I get the following error:
> 
> Converting mapsApp.svg to ..\TestArea\mapsApp.png ... java.lang.NullPointerException
>         at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source)
>   [...]
> ...Any ideas??

Hi James,

     Yes it means that there is an error in 'mapsApp.svg' but you are
hitting a bug before it can produce the error message.  Current CVS
will correctly generate the error message for you (which will help
know what the error in the SVG is).  We make nightly dumps of CVS
available if you don't want to mess with CVS directly.




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org