mingqiang yu,
mingqiang yu wrote:
> I recently got a pdf file which makes the PDFReader failed:
>
> com.itextpdf.text.exceptions.InvalidPdfException: trailer not found.
> [...]
>
> I tried to open the pdf with wordpad and it's true that it doesn't have
> trailer.
Can you share that file w
Hi,
I recently got a pdf file which makes the PDFReader failed:
com.itextpdf.text.exceptions.InvalidPdfException: trailer not found.
at com.itextpdf.text.pdf.PdfReader.rebuildXref(PdfReader.java:1567)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:522)
at com.it
Hi Mark,
ok thanks for info.
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile
M
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] trailer not found
Hi Mark,
my fault i think i'm using itext-1.3.1 ; I should try with the new one.
and thanks
--
Come build with us
Hi Mark,
my fault i think i'm using itext-1.3.1 ; I should try with the new one.
and thanks
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend th
...@yahoo.com]
Sent: Friday, October 02, 2009 8:43 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] trailer not found
Hi ,
i have one simple pdf file and my following code works great,
InputFile inputTest = (InputFile) event.getSource();
InputStream inputStream= new
Hi ,
i have one simple pdf file and my following code works great,
InputFile inputTest = (InputFile) event.getSource();
InputStream inputStream= new FileInputStream(inputTest.getFile());
PdfReader reader = new PdfReader(inputStream);
i took another copy and edited it
about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Paulo, how do I get the latest version that includes this fix for
> itextsharp? Do I compile it myself? or will there be a 4.1.3?
>
> Thanks
> Dean
>
> On Fri, Jul 3, 2009 at 7:50 AM,
t;> Sent: Thursday, July 02, 2009 4:15 PM
>>> To: Post all your questions about iText here
>>> Subject: Re: [iText-questions] "trailer not found."
>>>
>>> Ok, here is a smaller one.. Thanks!
>>>
>>>
>>> On Thu, Jul 2, 2009 at 11
>> From: Dean Krueger [mailto:dmkrue...@gmail.com]
>> Sent: Thursday, July 02, 2009 4:15 PM
>> To: Post all your questions about iText here
>> Subject: Re: [iText-questions] "trailer not found."
>>
>> Ok, here is a smaller one.. Thanks!
>>
>>
>
7;s better to look at one
> of those PDFs.
> >
> > Paulo
> >
> >> -Original Message-
> >> From: Dean Krueger [mailto:dmkrue...@gmail.com]
> >> Sent: Thursday, July 02, 2009 4:04 PM
> >> To: Post all your questions about iText here
> &g
t
look for the trailer as all the information it requires is in the linerization
tables.
Paulo
> -Original Message-
> From: Dean Krueger [mailto:dmkrue...@gmail.com]
> Sent: Thursday, July 02, 2009 3:00 PM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-question
I'll have look.
Paulo
> -Original Message-
> From: Dean Krueger [mailto:dmkrue...@gmail.com]
> Sent: Thursday, July 02, 2009 4:15 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Ok, here i
ll your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Does that mean, iText doesn't support this type of PDF?
> I thought it couldn't write linearized file but could read them.
>
> Thanks
> Dean
>
> On Thu, Jul 2, 2
or the trailer as all the information it requires is in the
> linerization tables.
>
> Paulo
>
>> -Original Message-
>> From: Dean Krueger [mailto:dmkrue...@gmail.com]
>> Sent: Thursday, July 02, 2009 3:00 PM
>> To: iText-questions@lists.sourcef
, 2009 3:00 PM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-questions] "trailer not found."
>
> Hi,
> I have some PDF's created by a customer, using Distiller 9 on
> windows. When I try to open a PdfReader, I get an e
Hi,
I have some PDF's created by a customer, using Distiller 9 on
windows. When I try to open a PdfReader, I get an exception "trailer
not found.", Stack Trace is :
iTextSharp.text.pdf.PdfReader.RebuildXref()
at iTextSharp.text.pdf.PdfReader.ReadPdf()
at iTextSharp.text.pdf.PdfReader..ctor(String
Paul Gatewood onr.navy.mil> writes:
>
> 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
I have seen this same exception crop up when the file is encrypted. Admittedly,
this was in my own bastardized vers
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
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
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
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
22 matches
Mail list logo