[
https://issues.apache.org/jira/browse/PDFBOX-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051617#comment-14051617
]
Andreas Lehmkühler commented on PDFBOX-2181:
--------------------------------------------
Nope, IMO the regression was introduced when the default constructor of
PDGraphicsState was removed, it started with revision
http://svn.apache.org/r1606620
> Regression NPE in PreflightContentStream
> ----------------------------------------
>
> Key: PDFBOX-2181
> URL: https://issues.apache.org/jira/browse/PDFBOX-2181
> Project: PDFBox
> Issue Type: Bug
> Reporter: simon steiner
> Attachments: expected.pdf
>
>
> Works in 1.8
> java -cp
> pdf-box-svn/preflight/target/preflight-2.0.0-SNAPSHOT.jar:pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar:pdf-box-svn/xmpbox/target/xmpbox-2.0.0-SNAPSHOT.jar
> org.apache.pdfbox.preflight.Validator_A1b expected.pdf
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.validXObjContentStream(PreflightContentStream.java:99)
--
This message was sent by Atlassian JIRA
(v6.2#6252)