Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4061

ClassCastException PDActionJavaScript cannot be cast to PDDestination

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9, 3.0.0 PDFBox
    • PDModel
    • None

    Description

      I got the following stacktrace merging PDFs. PDF files can not be attached because they have confidential information.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              Giorgy Jorge Spinsanti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: