[ 
https://issues.apache.org/jira/browse/PDFBOX-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052613#comment-14052613
 ] 

John Hewson edited comment on PDFBOX-2179 at 7/4/14 6:49 PM:
-------------------------------------------------------------

I've fixed the five "IllegalStateException: Call to processSubStream() before 
processStream() or initStream()" errors in 
[r1607905|http://svn.apache.org/r1607905]. This was caused by preflight calling 
internal methods of PDFStreamEngine in a way which breaks their intended 
purpose.

All exceptions are now fixed, but there are two remaining test failures.


was (Author: jahewson):
I've fixed the five "IllegalStateException: Call to processSubStream() before 
processStream() or initStream()" errors in 
[r1607905|http://svn.apache.org/r1607905]. This was caused by preflight calling 
internal methods of PDFStreamEngine in a way which breaks their intended 
purpose.

> Regression: Some isartor tests are not passing in 2.0.0
> -------------------------------------------------------
>
>                 Key: PDFBOX-2179
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2179
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Bailleul
>            Assignee: John Hewson
>            Priority: Critical
>              Labels: regression
>
> It is possible to check preflight with the isartor files while building 
> pdfbox. The option is not set by default. It can be done with the command 
> line :
> {quote}
> mvn test -Dskip.external.resources=false
> {quote}
> On July 2nd, 9 tests are failing :
> {quote}
> TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-f.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()
> TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-h.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()
> TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-i.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()
> TestIsartor.validate:170 isartor-6-2-7-t01-fail-a.pdf : Invalid error code 
> returned. expected:<2.\[3.2\]> but was:<2\.[1.9\]>
> TestIsartor.validate:159 isartor-6-3-2-t01-fail-a.pdf : Invalid error code 
> returned. Expected 3.2.2, found \[3.1.1 3.3.2 \]
> TestIsartor.validate:175 isartor-6-3-4-t01-fail-f.pdf : NullPointerException 
> raised , message=null
> TestIsartor.validate:175 isartor-6-3-4-t01-fail-g.pdf : IllegalStateException 
> raised , message=Call to processSubStream() before processStream() or 
> initStream()
> TestIsartor.validate:175 isartor-6-3-4-t01-fail-h.pdf : IllegalStateException 
> raised , message=Call to processSubStream() before processStream() or 
> initStream()
> TestIsartor.validate:175 isartor-6-9-t02-fail-a.pdf : NullPointerException 
> raised , message=null
> {quote}
> All is working fine with the last released version.



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

Reply via email to