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

Seva Alekseyev commented on PDFBOX-3535:
----------------------------------------

It doesn't happen in the PDFBox trunk, I've checked. In 2.0.3 (which ships with 
Tika 1.13), however, the exception happens when the value of currentPage in 
pdftextStripper.processPages() is 4.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to