[ https://issues.apache.org/jira/browse/PDFBOX-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321019#comment-16321019 ]
ASF subversion and git services commented on PDFBOX-4061: --------------------------------------------------------- Commit 1820784 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1820784 ] 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-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org