[
https://issues.apache.org/jira/browse/PDFBOX-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105571#comment-14105571
]
Tilman Hausherr commented on PDFBOX-2278:
-----------------------------------------
The reason is that the page doesn't have contents, only annotations. All there
is to do is to call initStream() when page.getContents() is null. We can fix
this when John is done with PDFBOX-2262.
> Exception in thread "main" java.lang.IllegalStateException: Call to
> processSubStream() before processStream() or initStream()
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2278
> URL: https://issues.apache.org/jira/browse/PDFBOX-2278
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
>
> In pdf from PDFBOX-607
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> example2.pdf
> Exception in thread "main" java.lang.IllegalStateException: Call to
> processSubStream() before processStream() or initStream()
--
This message was sent by Atlassian JIRA
(v6.2#6252)