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 2018/01/10 20:21:00 UTC

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

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

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

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

PDFBOX-4061: OpenAction can also be something without a destination, e.g. PDActionJavaScript

> 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
>
> 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