John Tunison wrote:
> Hi all,
> 
> I'm not sure whether this is user error or a bug in the library, but
> upon switching from iText-2.1.1.jar to iText-2.1.4.jar, one of my PDF
> stamping classes starts failing.  It doesn't throw an exception, it
> merely outputs to stderr:
> 
> [Fatal Error] :22:20: Premature end of file.
> 
> Any insight?  Am I doing something wrong?  I'll try to build an isolated
> test case as well...

The only location "Premature end of file" appears in the iText source
code is in class PngImage and it throws an IOException so you must be
catching the exception somewhere up the stack call.

Maybe you've changed some of the images in your application or the
changes in that class since 2.1.1 introduced a problem. In any case,
knowing that the error is related to PNG images should help you isolate
the problem and send us a test case if needed.


Best regards,

Xavier Le Vourch

-- 
Xavier Le Vourch
Brittany Software, Inc.
<[email protected]>

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to