Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

ClassCastException in SimpleBookmark.getBookmark() #4

Open
ghost opened this issue Apr 5, 2016 · 0 comments
Open

ClassCastException in SimpleBookmark.getBookmark() #4

ghost opened this issue Apr 5, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 5, 2016

I sometimes get the following exception in the latest version of OpenPDF when getting bookmarks from a PDF:

Caused by: java.lang.ClassCastException: com.lowagie.text.pdf.PdfString cannot be cast to com.lowagie.text.pdf.PdfDictionary
at com.lowagie.text.pdf.SimpleBookmark.getBookmark(SimpleBookmark.java:289)
.....

The ClassCastException occurs here:
https://github.com/rtfarte/OpenPDF/blob/master/openpdf/src/main/java/com/lowagie/text/pdf/SimpleBookmark.java#L289

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants