Your outline has an invalid action that points to a
null page. I've changed the code to catch invalid actions and keep only the
title.
Best Regards,
Paulo Soares
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 8:28 AM
To: Paulo Soares
Subject: RE: [iText-questions] ClassCastException in Itext 1.02bHi,Hereby you can find a PDF that causes the problem.It opens without any problem in Acrobat Reader 6ThanksDavid-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 5:36 PM
To: Deridder David - Z47; [EMAIL PROTECTED]
Subject: RE: [iText-questions] ClassCastException in Itext 1.02bThis 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.02bHello,
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.
---------------------
