You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2017/11/05 13:25:00 UTC
[jira] [Updated] (PDFBOX-3956) Truncated pdf can't be repaired
anymore
[ https://issues.apache.org/jira/browse/PDFBOX-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-3956:
---------------------------------------
Fix Version/s: 3.0.0
2.0.9
> Truncated pdf can't be repaired anymore
> ---------------------------------------
>
> Key: PDFBOX-3956
> URL: https://issues.apache.org/jira/browse/PDFBOX-3956
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.8
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Labels: regression
> Fix For: 2.0.9, 3.0.0
>
> Attachments: N4CWPKUJDQIPQ6YLYKPLOZJBTSYGQEYR.pdf
>
>
> [~tallison@mitre.org]'s last test run reveals another minor regression. The truncated file attached to the ticket can't be read anymore. The issue is related to the changes made in PDFBOX-3936.
> The following exception is thrown
> {code}
> java.io.IOException: Error reading stream, expected='endstream' actual='' at offset 271297
> org.apache.pdfbox.pdfparser.COSParser.parseCOSStream(COSParser.java:1078)
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:821)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:782)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:713)
> org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:673)
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:205)
> org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:240)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1012)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:950)
> org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1312)
> org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1233)
> org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1218)
> org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:1209)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org