xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "techno info" <techo_i...@rediffmail.com>
Subject out of memory
Date Thu, 23 Oct 2003 18:02:36 GMT
<P>
hi thomas,<BR>
i am facing with similar problem of memory outburst when i try to convert svg to jpg.<BR>
i tried the solution mentioned by you earlier to GVS.infact i am getting a null pointer exception.<BR>
In the encode method of TIFFImageEncoder,it is calling encodeParam.getJPEGEncodeParam() to
get the JPEGEncodeParam.the value of JPEGEncodeParam is coming as null.<BR>
<BR>
/*<BR>
Exception breakpoint occurred at line 441 of TIFFImageEncoder.java.<BR>
java.lang.NullPointerException: <BR>
java.lang.NullPointerException int org.apache.batik.ext.awt.image.codec.tiff.TIFFImageEncoder.encode(java.awt.image.RenderedImage,
org.apache.batik.ext.awt.image.codec.tiff.TIFFEncodeParam, int, boolean) TIFFImageEncoder.java:441
void org.apache.batik.ext.awt.image.codec.tiff.TIFFImageEncoder.encode(java.awt.image.RenderedImage)
TIFFImageEncoder.java:164 void org.apache.batik.apps.tiledTranscoder.TiledImageTranscoder.transcode(org.w3c.dom.Document,
java.lang.String, org.apache.batik.transcoder.TranscoderOutput) TiledImageTranscoder.java:76
void org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(org.apache.batik.transcoder.TranscoderInput,
org.apache.batik.transcoder.TranscoderOutput) XMLAbstractTranscoder.java:174 void org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(org.apache.batik.transcoder.TranscoderInput,
org.apache.batik.transcoder.TranscoderOutput) SVGAbstractTranscoder.java:188<BR>
<BR>
<BR>
*/<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG
SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom"
BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>

Mime
View raw message