[ 
https://issues.apache.org/jira/browse/PDFBOX-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592424#comment-15592424
 ] 

Tilman Hausherr commented on PDFBOX-3535:
-----------------------------------------

Never mind, I found it: it is on page 5 (753). Instead of an action dictionary, 
it has the name of a destination. This is NOT in the specification, but Adobe 
Reader understands it. PDF.js doesn't.

> ClassCastException in PDAnnotationLink.getAction()
> --------------------------------------------------
>
>                 Key: PDFBOX-3535
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3535
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.3
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>       at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to