----------------------------------------
> Date: Mon, 30 Nov 2009 20:17:03 +0100
> From: i...@1t3xt.info
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Problem with PDFReader object
>
> Sinha, Abhishek wrote:
>> Please let us know
>> if there is any issue with PDFReader implementation in iText2.0.8.
>
> Free support on the mailing list is limited to the current version.
> The current version is 2.1.7, so your question isn't admissible.
>
> This being said: when the trailer of a PDF file isn't found,
> there are serious problems with the PDF. It's broken.
> iText can deal with some broken PDFs, for instance: if the
> byte offsets listed in the xref table don't correspond exactly
> with the real byte offsets in the PDF file, but if the xref
> really doesn't correspond with the actual bytes, then the
> rebuild will fail.
>
> This is in no way an issue with PdfReader.
> It's an issue with the PDFs you're passing to PdfReader.
>
> You should check the byte[] you're creating.
> Chances are that the bytes are corrupt due to problems
> with the threads: are you sure the byte arrays are correct?
> (I'm 99% they aren't.)

>From original symptoms this sounds like a
threading issue unrelated to itext. If you use different instances that
don't know about each other, they are only likely to communicate through 
statics. 
You canĀ  grep itext source or your own code for "static" maybe and see if your 
threads
are updating shared objects. 


> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to