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

John Hewson commented on PDFBOX-2179:
-------------------------------------

Looking at PDFStreamEngine part of the problem which resulted in the "Call to 
processSubStream() before processStream() or initStream()" was due to 
PDStreamEngine#resetEngine() not really doing what it appeared. As this API was 
only used by TextStripper, I've made it private in that class only to avoid 
future confusion. Done in [r1607927|http://svn.apache.org/r1607927].

> 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
>             Fix For: 2.0.0
>
>
> 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