Vishal Mittal,

vishalm wrote
> I am using the latest i-text pdf

This currently is 5.5.0. Or do you mean the development 5.5.1-SNAPSHOT?
> to parse / read the pdf and am getting the following exceptions

I tried both 5.5.0 and 5.5.1-SNAPSHOT, and in neither case I got an
exception but instead the document text.
> *option 3 snippet:*
>    String parsedText = pdfStripper.getText(pdDoc);
> Using the PDFTextStripper,...

PDFTextStripper is a PDFBox class, not iText.

This mix-up makes me suspect you have a mixture of libs in your class path.
Please first create a clean project and re-try your text extraction. If you
still get exceptions, provide a full  SSCCE <http://sscce.org/>   for
reproducing your issue and post the full stack trace of your exception.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Exception-during-parsing-pdf-tp4659887p4659889.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Reply via email to