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

COSArray cannot be cast to COSNumber

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.6, 1.8.7, 2.0.0
    • 1.8.7, 2.0.0
    • Parsing

    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

            tilman Tilman Hausherr
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: