Hi Eric. Eric Hamacher: > I get the following exception using Batik (1.7) at the line > "t.transcode(input, output);" I am trying to convert a DOM into a > JPEG image. > > org.apache.batik.transcoder.TranscoderException: null > Enclosed Exception: > null > 08/03/05 10:42:08 at > org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTransco > der.java: > 132) … > Anybody have an idea about what this exception is about? Thanks
It’s hard to tell, since the (what I assume is a) NullPointerException is wrapped in a TranscoderException, which doesn’t show where the NPE was thrown. If you can compile Batik, try adding a line ex.printStackTrace(); just before the throw line in ImageTranscoder.transcode(Document,String,TranscoderOutput), and that at least will show where the original exception is being thrown. -- Cameron McCormack, http://mcc.id.au/ xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
