You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/10/20 16:51:59 UTC

[jira] [Commented] (PDFBOX-3535) ClassCastException in PDAnnotationLink.getAction()

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

ASF subversion and git services commented on PDFBOX-3535:
---------------------------------------------------------

Commit 1765850 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1765850 ]

PDFBOX-3535: avoid ClassCastException, remove super(), set constant

> 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
>
> {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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org