Discussion:
[iText-questions] Is my pdf really corrupt ?
C***@hydro.qc.ca
2004-10-14 11:40:20 UTC
Permalink
I have an error that I cannot seem to be able to get past, and I found a
reference to it in the following thread:
http://sourceforge.net/mailarchive/message.php?msg_id=2314792
<http://sourceforge.net/mailarchive/message.php?msg_id=2314792>

Here is a copy of the stacktrace:
java.io.IOException: Rebuild failed: trailer not found.; Original message:
File position 0 cross-reference entry in this xref subsection at file
pointer 32294
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at preuve_pdf.PreuvePDF.doIt(PreuvePDF.java:36)
at preuve_pdf.PreuvePDF.main(PreuvePDF.java:59)


In the post, Paulo mentioned that the pdf is corrupt, so I have been
assuming that mine is corrupt as well. However,
I tested it in some other pdf tools and none of the tools complain about the
file's structure, and all seems to be well.
I tested the file compressed and non compressed, and found the same error.

We generate the pdf with Exstream Dialogue version 4.0xxx, any ideas on how
we can track the source of the error. I can send the pdf
to anyone who wants to check it out, it is only about 30k.

Thanks in advance,

Mark
Paulo Soares
2004-10-14 14:34:45 UTC
Permalink
Show me the file. By the way, are you using itext-paulo-139? It tries
harder to recover from errors.

Best Regards,
Paulo Soares


________________________________

From: itext-questions-***@lists.sourceforge.net
[mailto:itext-questions-***@lists.sourceforge.net] On Behalf Of
***@hydro.qc.ca
Sent: Thursday, October 14, 2004 2:34 PM
To: itext-***@lists.sourceforge.net
Subject: [iText-questions] Is my pdf really corrupt ?


I have an error that I cannot seem to be able to get past, and I
found a reference to it in the following thread:
http://sourceforge.net/mailarchive/message.php?msg_id=2314792

Here is a copy of the stacktrace:
java.io.IOException: Rebuild failed: trailer not found.;
Original message: File position 0 cross-reference entry in this xref
subsection at file pointer 32294
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at preuve_pdf.PreuvePDF.doIt(PreuvePDF.java:36)
at preuve_pdf.PreuvePDF.main(PreuvePDF.java:59)


In the post, Paulo mentioned that the pdf is corrupt, so I have
been assuming that mine is corrupt as well. However,
I tested it in some other pdf tools and none of the tools
complain about the file's structure, and all seems to be well.
I tested the file compressed and non compressed, and found the
same error.

We generate the pdf with Exstream Dialogue version 4.0xxx, any
ideas on how we can track the source of the error. I can send the pdf
to anyone who wants to check it out, it is only about 30k.

Thanks in advance,

Mark

Continue reading on narkive:
Loading...