[
https://issues.apache.org/jira/browse/PDFBOX-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1541.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Assignee: Andreas Lehmkühler
I added a fix in revisions 1549025 and 1549027 which should work in (all?)
described situations (see PDFBOX-1769).
The attached pdf opens without throwing an exception.
Thanks for the report and the input!
> 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
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)