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

Tilman Hausherr commented on PDFBOX-3510:
-----------------------------------------

What version are you using, and what is your code, or what utility did you run?

> "java.io.IOException: Stream closed" while parsing a page without contents
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-3510
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3510
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>         Environment: $ git status -uno
> On branch trunk
> Your branch is behind 'origin/trunk' by 61 commits, and can be fast-forwarded.
>            Reporter: Esteban Nicolas Ruiz
>            Priority: Minor
>              Labels: newbie
>
> I get the following exception while parsing page number 4 from 
> http://openil.sourceforge.net/docs/DevIL%20Manual.pdf
>  with PDFStreamParser.parse(). The dictionary for page 4 doesn't contain a 
> "/Contents" entry.
> java.io.IOException: Stream closed
> Stream closed
> java.io.IOException: Stream closed
>         at java.io.PushbackInputStream.ensureOpen(Unknown Source)
>         at java.io.PushbackInputStream.read(Unknown Source)
>         at 
> org.apache.pdfbox.pdfparser.InputStreamSource.read(InputStreamSource.java:46)
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.skipSpaces(BaseParser.java:1275)
>         at 
> org.apache.pdfbox.pdfparser.PDFStreamParser.parseNextToken(PDFStreamParser.java:142)
>         at 
> org.apache.pdfbox.pdfparser.PDFStreamParser.parse(PDFStreamParser.java:115)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to