[ https://issues.apache.org/jira/browse/PDFBOX-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052604#comment-14052604 ]
John Hewson edited comment on PDFBOX-2181 at 7/4/14 6:20 PM: ------------------------------------------------------------- The problem was trying to use the page BBox instead of the XObject BBox. Fixed in [r1607902|http://svn.apache.org/r1607902]. was (Author: jahewson): The problem was using trying to use the page BBox instead of the XObject BBox. Fixed in [r1607902|http://svn.apache.org/r1607902]. > Regression: NPE in PreflightContentStream > ----------------------------------------- > > Key: PDFBOX-2181 > URL: https://issues.apache.org/jira/browse/PDFBOX-2181 > Project: PDFBox > Issue Type: Bug > Components: Preflight > Affects Versions: 2.0.0 > Reporter: simon steiner > Assignee: John Hewson > Fix For: 2.0.0 > > 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)