Title: ClassCastException in Itext 1.02b
This can be a broken PDF. Send me a couple of the PDFs that cause the exception.
 
Best Regards,
Paulo Soares


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:19 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] ClassCastException in Itext 1.02b

Hello,

Can somebody help me?  I get a ClassCastException on the following line of code:

List list = SimpleBookmark.getBookmark(pdfreader);

Part of the stacktrace:

com.lowagie.text.pdf.PdfLiteral
java.lang.ClassCastException: com.lowagie.text.pdf.PdfLiteral
at com.lowagie.text.pdf.SimpleBookmark.bookmarkDepth(Unknown Source)
at com.lowagie.text.pdf.SimpleBookmark.getBookmark(Unknown Source)


I don't have this on all pdf files either.

Thanks in advance
David



-----Disclaimer-----

This message may contain confidential information intended solely for the use of the named addressee. If you are not the intended recipient, you should not read, use, disclose or reproduce the content of this message. If you have received this message by mistake, please notify the sender immediately. Any views or opinions presented in this message are solely those of the author and do not necessarily represent those of AXA Belgium, AXA Bank Belgium, AXA Tech Belgium GIE - ESV or any other entity of the AXA Group, unless otherwise stated by the sender and duly authorized by the said companies.

---------------------

Reply via email to