xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Fop null pointer exception and tiff image
Date Wed, 07 Nov 2007 09:22:38 GMT
Damn, so many things slipped through my fingers recently. There's just
too much going on around here lately. Thanks for the pointer. Looks like
it's only the resolution unit that is missing in that TIFF image, not
the resolution itself. The spec says that "inches" is the default
resolution unit.

Jeremias Maerki



On 07.11.2007 10:06:24 Chris Bowditch wrote:
> Jeremias Maerki wrote:
> 
> Hi Jeremias,
> 
> > Can you post the TIFF image, please? I think your TIFF image doesn't
> > contain resolution info and that's why the error happens. A
> > NullPointerException is usually an uninitialized object reference, i.e.
> > a bug or just an unexpected situation (like here). If I get the image I
> > can try to fix the code to make it work. If you don't want to publish
> > the image on the internet, you can also send it directly to me.
> 
> This looks like the following bug which I encountered when a Tiff image 
> doesn't have the unit of resolution:
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=43506
> 
> Chris


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


Mime
View raw message