Paulo, Michael, Many thanks for reply. Indeed this PDF seems to be broken, as I cannot render it with FoxitReader as well. Conversion CRLF→LF does not help.
The issue is closed. My excuses. Nice part is that iText still can extract some text from it until it breaks with NumberFormatException. That's great opportunity to mine al least some data from this corrupted PDF. On 06.06.2013 11:55, Paulo Soares wrote: > I can't render your PDF with Acrobat. > > Paulo On 06.06.2013 12:09, mkl wrote: > Dmitry Katsubo, > > Dmitry Katsubo wrote >> After update to latest 5.4.2, NumberFormatException is still there, >> check test PDF >> <https://www.dropbox.com/s/te3icjsj9xjd4p0/itext_NumberFormatException.pdf>. > You PDF file seems to have been treated as text somewhere, it seems to have > had 1 byte long line ends (either CR or LF) and now has 2 byte long ones > (CRLF). At least that's how I interpret the cross reference table errors. > > Please use a transport channel treating the PDF as a binary file. > > Regards, Michael ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php