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

ClassCastException in COSParser.bfSearchForTrailer

    Details

      Description

      java.lang.ClassCastException: org.apache.pdfbox.cos.COSInteger cannot be cast to org.apache.pdfbox.cos.COSObject
          org.apache.pdfbox.pdfparser.COSParser.bfSearchForTrailer(COSParser.java:1668)
          org.apache.pdfbox.pdfparser.COSParser.rebuildTrailer(COSParser.java:2110)
          org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:246)
          org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:189)
          org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:240)
      

      This worked in 2.0.6.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: