[ https://issues.apache.org/jira/browse/PDFBOX-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603701#comment-13603701 ]
Jinder Aujla edited comment on PDFBOX-1541 at 3/15/13 8:59 PM: --------------------------------------------------------------- Timo.. this is what I got.. java.io.IOException: No more bytes from stream but expected: 13909 at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseCOSStream(NonSequentialPDFParser.java:1316) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1032) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:955) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseDictObjects(NonSequentialPDFParser.java:929) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:337) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:574) Incidentally I should add that in a previous version this was being parsed successfully. 0.8.1-incubator was (Author: pookieman): Timo.. this is what I got.. java.io.IOException: No more bytes from stream but expected: 13909 at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseCOSStream(NonSequentialPDFParser.java:1316) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1032) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:955) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseDictObjects(NonSequentialPDFParser.java:929) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:337) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:574) Incidentally I should add that in a previous version this was being parsed successfully. > expected='endstream' actual='' failure to parse > ----------------------------------------------- > > Key: PDFBOX-1541 > URL: https://issues.apache.org/jira/browse/PDFBOX-1541 > Project: PDFBox > Issue Type: Bug > Components: Text extraction > Affects Versions: 1.7.1 > Environment: Ubuntu 12.04, JDK 1.7 > Reporter: Jinder Aujla > Attachments: exporeal09_flyer_email3.pdf > > > Following exception thrown when parsing attached PDF > Caused by: java.io.IOException: expected='endstream' actual='' > org.apache.pdfbox.io.PushBackInputStream@2a789924 > at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSStream(BaseParser.java:597) > at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:575) > at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:187) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira