[ 
https://issues.apache.org/jira/browse/PDFBOX-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-4061.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 3.0.0 PDFBox
                   2.0.9

Thanks! Fixed.

> ClassCastException PDActionJavaScript cannot be cast to PDDestination
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-4061
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4061
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.8
>            Reporter: Jorge Spinsanti
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.9, 3.0.0 PDFBox
>
>
> I got the following stacktrace merging PDFs. PDF files can not be attached 
> because they have confidential information.
> {code}
> java.lang.ClassCastException: 
> org.apache.pdfbox.pdmodel.interactive.action.PDActionJavaScript cannot be 
> cast to 
> org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination
>       at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:359)
>       at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:266)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to