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

ClassCastException in PDFMergerUtility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.8
    • None
    • None
    • None
    • Linux Ubuntu

    Description

      Hi, here is the exception. It was thrown using pdf with hyperlinks.

       

      java.lang.ClassCastException: org.apache.pdfbox.pdmodel.interactive.action.PDActionJavaScript cannot be cast to org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination
      INFO   | jvm 1    | 2018/03/20 09:24:45 |       at org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:359)
      INFO   | jvm 1    | 2018/03/20 09:24:45 |       at org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:266)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Anthonys Antonio Damato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: