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

ClassCastException in StreamValidationProcess.checkFilters

    Details

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

      Description

      078083.pdf preflight fail: java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSArray
      	at org.apache.pdfbox.preflight.process.StreamValidationProcess.checkFilters(StreamValidationProcess.java:101)
      	at org.apache.pdfbox.preflight.process.StreamValidationProcess.validateStreamObject(StreamValidationProcess.java:83)
      	at org.apache.pdfbox.preflight.process.StreamValidationProcess.validate(StreamValidationProcess.java:67)
      	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
      	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:88)
      	at org.apache.pdfbox.preflight.PreflightDocument.validate(PreflightDocument.java:168)
      	at pdfboxpageimageextraction.PreflightTest.main(PreflightTest.java:44)
      

      The cause are entries like this one:

      /Filter 778 0 R
      

        Attachments

        1. 078083.pdf
          1.51 MB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: