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

COSArray cannot be cast to COSNumber

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.8.7, 2.0.0
    • Fix Version/s: 1.8.7, 2.0.0
    • Component/s: Parsing
    • Labels:

      Description

      java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage input.pdf
      Exception in thread "main" java.lang.ClassCastException: org.apache.pdfbox.cos.COSArray cannot be cast to org.apache.pdfbox.cos.COSNumber
      at org.apache.pdfbox.cos.COSArray.toFloatArray(COSArray.java:530)
      at org.apache.pdfbox.pdmodel.common.PDRectangle.<init>(PDRectangle.java:97)

        Attachments

        1. input.pdf
          319 kB
          simon steiner

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              ssteiner1 simon steiner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: