You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/11/15 14:59:33 UTC

[jira] [Created] (PDFBOX-2500) ClassCastException in StreamValidationProcess.checkFilters

Tilman Hausherr created PDFBOX-2500:
---------------------------------------

             Summary: ClassCastException in StreamValidationProcess.checkFilters
                 Key: PDFBOX-2500
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2500
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 1.8.7, 1.8.8, 2.0.0
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 1.8.8, 2.0.0


{code}
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)
{code}

The cause are entries like this one:
{code}
/Filter 778 0 R
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)