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

Tilman Hausherr commented on PDFBOX-2332:
-----------------------------------------

The file does parse with the old parser (fixed in PDFBOX-195), but not with the 
non-sequential parser.

> Error reading stream, expected='endstream' actual='endstream8' at offset 1993
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-2332
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2332
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>
> PDF from PDFBOX-195
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> -nonSeq test_bad.pdf 
> Exception in thread "main" java.io.IOException: Error reading stream, 
> expected='endstream' actual='endstream8' at offset 1993
>       at 
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseCOSStream(NonSequentialPDFParser.java:1576)



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

Reply via email to