[ 
https://issues.apache.org/jira/browse/PDFBOX-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr closed PDFBOX-2248.
-----------------------------------

    Resolution: Duplicate
      Assignee: Tilman Hausherr

Duplicate of PDFBOX-2020. Unlike in april when this came up first, I understand 
the problem this time and will fix it. I'll add you as a watcher.

> nullpointerexception on validImageColorSpace
> --------------------------------------------
>
>                 Key: PDFBOX-2248
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2248
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.8.5, 1.8.6
>         Environment: windows and linux.
>            Reporter: samuel lumière
>            Assignee: Tilman Hausherr
>            Priority: Critical
>              Labels: ContentStreamEngine, nullpointer, validImageColorSpace
>
> java.lang.NullPointerException
>     at 
> org.apache.pdfbox.preflight.content.ContentStreamEngine.validImageColorSpace(ContentStreamEngine.java:330)
>     at 
> org.apache.pdfbox.preflight.content.ContentStreamWrapper.processOperator(ContentStreamWrapper.java:178)
>     at 
> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)
>     at 
> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)
>     at 
> org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)
>     at 
> org.apache.pdfbox.preflight.content.ContentStreamWrapper.validPageContentStream(ContentStreamWrapper.java:76)
>     at 
> org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateContent(SinglePageValidationProcess.java:179)
>     at 
> org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validate(SinglePageValidationProcess.java:87)
>     at 
> org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
>     at 
> org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:52)
>     at 
> org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validatePage(PageTreeValidationProcess.java:58)
>     at 
> org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:47)
>     at 
> org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
> i cannot submit an exemple PDF, because the one with the errors are 
> confidential.
> they were generated with PDFCreator (winword 2010, print into)
> not all the PDF generated the same way have the same error
> critical for us because we need to validate the PDFs before uploading them to 
> our server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to