You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/01/10 20:22:00 UTC

[jira] [Resolved] (PDFBOX-4061) ClassCastException PDActionJavaScript cannot be cast to PDDestination

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