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

PDF/A file has a preflight, .pdmodel.font exception. Validates with commercial viewers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • PDModel, Preflight
    • None
    • LInux

    Description

      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.font.PDType0Font.encode(PDType0Font.java:182)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.validText(ContentStreamWrapper.java:339)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.validStringArray(ContentStreamWrapper.java:280)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.validStringArray(ContentStreamWrapper.java:278)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.checkShowTextOperators(ContentStreamWrapper.java:207)
      at org.apache.padaf.preflight.contentstream.ContentStreamWrapper.processOperator(ContentStreamWrapper.java:180)
      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)

      Attachments

        1. SeminarPDFA.pdf
          472 kB
          William Fausser

        Activity

          People

            leleueri Eric Leleu
            bfausser William Fausser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: