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

nullpointerexception on validImageColorSpace

    XMLWordPrintableJSON

Details

    Description

      java.lang.NullPointerException
      at org.apache.pdfbox.preflight.content.ContentStreamEngine.validImageColorSpace(ContentStreamEngine.java:330)
      at org.apache.pdfbox.preflight.content.ContentStreamWrapper.processOperator(ContentStreamWrapper.java:178)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)
      at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)
      at org.apache.pdfbox.preflight.content.ContentStreamWrapper.validPageContentStream(ContentStreamWrapper.java:76)
      at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateContent(SinglePageValidationProcess.java:179)
      at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validate(SinglePageValidationProcess.java:87)
      at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
      at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:52)
      at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validatePage(PageTreeValidationProcess.java:58)
      at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:47)
      at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)

      i cannot submit an exemple PDF, because the one with the errors are confidential.
      they were generated with PDFCreator (winword 2010, print into)
      not all the PDF generated the same way have the same error

      critical for us because we need to validate the PDFs before uploading them to our server.

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              pikachuman samuel lumière
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: