PDFBox
  1. PDFBox
  2. PDFBOX-1264

Null Pointer exception on attached PDF/A verifies with commercial validators

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: Preflight
    • Labels:
      None
    • Environment:
      Linux

      Description

      java.lang.NullPointerException
      at org.apache.padaf.preflight.graphics.color.StandardColorSpaceHelper.processDeviceNColorSpace(StandardColorSpaceHelper.java:340)
      at org.apache.padaf.preflight.graphics.color.StandardColorSpaceHelper.processAllColorSpace(StandardColorSpaceHelper.java:156)
      at org.apache.padaf.preflight.graphics.color.StandardColorSpaceHelper.validate(StandardColorSpaceHelper.java:118)
      at org.apache.padaf.preflight.utils.ContentStreamEngine.checkSetColorSpaceOperators(ContentStreamEngine.java:550)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.processOperator(ContentStreamWrapper.java:183)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:274)
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:251)
      at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:225)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.validPageContentStream(ContentStreamWrapper.java:79)
      at org.apache.padaf.preflight.helpers.PagesValidationHelper.validateContent(PagesValidationHelper.java:196)
      at org.apache.padaf.preflight.helpers.PagesValidationHelper.validatePage(PagesValidationHelper.java:105)
      at org.apache.padaf.preflight.helpers.PagesValidationHelper.innerValidate(PagesValidationHelper.java:73)
      at org.apache.padaf.preflight.helpers.AbstractValidationHelper.validate(AbstractValidationHelper.java:91)
      at org.apache.padaf.preflight.AbstractValidator.runValidation(AbstractValidator.java:122)
      at org.apache.padaf.preflight.PdfA1bValidator.validate(PdfA1bValidator.java:97)
      at org.apache.padaf.preflight.Validator_A1b.validate(Validator_A1b.java:182)
      at org.apache.padaf.preflight.Validator_A1b.<init>(Validator_A1b.java:86)
      at org.apache.padaf.preflight.Validator_A1b.main(Validator_A1b.java:80)

      1. wetterPDFA.pdf
        1.15 MB
        William Fausser

        Activity

          People

          • Assignee:
            Eric Leleu
            Reporter:
            William Fausser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development