[ https://issues.apache.org/jira/browse/PDFBOX-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229259#comment-13229259 ]
William Fausser commented on PDFBOX-1249: ----------------------------------------- Hi Eric, Thanks, I was "much" out of date with pdfbox......got everything compiled and I can verify with you that the Null pointer exception was fixed a while back...thanks again. BR, Bill > PDF/A file has a preflight, .pdmodel.font exception. Validates with > commercial viewers > --------------------------------------------------------------------------------------- > > Key: PDFBOX-1249 > URL: https://issues.apache.org/jira/browse/PDFBOX-1249 > Project: PDFBox > Issue Type: Bug > Components: PDModel, Preflight > Affects Versions: 1.7.0 > Environment: LInux > Reporter: William Fausser > Assignee: Eric Leleu > Fix For: 1.7.0 > > Attachments: SeminarPDFA.pdf > > > 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) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira