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

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

Jorge Spinsanti created PDFBOX-4061:
---------------------------------------

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