You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/07/04 20:21:34 UTC
[jira] [Resolved] (PDFBOX-2181) Regression: NPE in
PreflightContentStream
[ https://issues.apache.org/jira/browse/PDFBOX-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson resolved PDFBOX-2181.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
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)