Hi, First of all, what version are you using? Line 505 of PdfReader in the latest build would suggest it throws that exception on a '}'.
More important, the exception tells you your PDF is invalid: "trailer not found". So, how did you create this PDF? Could you send it to us? And some code would be nice. Kind regards, Michael. Op 11/09/2012 0:54, Kiran Kumar schreef: > Hello, > > We are seeing below exception when reading PDF files, this is observed > when we run a load test (the same file is being read like 100 times > concurrently). The same file is processed fine when a single request is > sent. > > Stack trace: > > com.itextpdf.text.exceptions.InvalidPdfException: Rebuild failed: > trailer not found.; Original message: PDF startxref not found. > > at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:505) > > at com.itextpdf.text.pdf.PdfReader.<init>(PdfReader.java:169) > > at com.itextpdf.text.pdf.PdfReader.<init>(PdfReader.java:158) > > Please help. > > Thanks in advance. > > > ------------------------------------------------------------------------ > > Disclaimer: This electronic mail and any attachments are confidential > and may be privileged. If you are not the intended recipient, please > notify the sender immediately by replying to this email, and destroy all > copies of this email and any attachments. Thank you. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > iText-questions mailing list > [email protected] > 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 > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list [email protected] 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
