xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruben malchow <ruben.malc...@googlemail.com>
Subject transcoder exception handling
Date Sat, 17 Nov 2012 04:21:38 GMT



hi,

i am seeing some exception handling problems with the transcoder:

actually, it logs this:

java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
	at java.awt.image.SampleModel.<init>(SampleModel.java:108)
	at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:124)
	at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:91)
	at java.awt.image.SinglePixelPackedSampleModel.createCompatibleSampleModel(SinglePixelPackedSampleModel.java:197)

for a incorrect document, but it never throws this exception. i spent a huge amount of time
trying to figure out what's wrong with my exception handling, but in the end - there wasn't
even an exception to handle.

is this expected? why is it logged (to the console, no less!) if it is ignorable?

.rm
Mime
View raw message