Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-30 Thread Paul Gatewood
Thanks to both of you for your quick feedback. If the supplier of the PDF asks I will simply let them know this. Thanks again. -paul 1T3XT info wrote: > Leonard Rosenthol wrote: >> The message in the ioException is pretty clear - the trailer is not found... > > In other words: either the trailer

Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread 1T3XT info
Leonard Rosenthol wrote: > The message in the ioException is pretty clear - the trailer is not found... In other words: either the trailer was cut off from the file, or the trailer could not be found because plenty of garbage was added at the end of the file. -- This answer is provided by 1T3XT B

Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread Leonard Rosenthol
The message in the ioException is pretty clear - the trailer is not found... Leonard On Thu, Jan 29, 2009 at 3:06 PM, Paul Gatewood wrote: > When calling PdfReader(String filename) I get > > java.io.IOException: trailer not found. >at com.lowagie.text.pdf.PdfReader.rebuildXref > > so I

[iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread Paul Gatewood
When calling PdfReader(String filename) I get java.io.IOException: trailer not found. at com.lowagie.text.pdf.PdfReader.rebuildXref so I suspected (from other posts here) that the PDF to be read had some error. I was able to read the source PDF with Acrobat 8.1.3, so perhaps Acrobat has