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 2024/12/27 11:41:00 UTC
[jira] [Closed] (PDFBOX-3797) Error reading stream, expected='endstream' actual='' with truncated file
[ https://issues.apache.org/jira/browse/PDFBOX-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler closed PDFBOX-3797.
--------------------------------------
Resolution: Fixed
[~tilman] thanks for re-checking
set to closed
> Error reading stream, expected='endstream' actual='' with truncated file
> ------------------------------------------------------------------------
>
> Key: PDFBOX-3797
> URL: https://issues.apache.org/jira/browse/PDFBOX-3797
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.6
> Reporter: Tilman Hausherr
> Assignee: Andreas Lehmkühler
> Priority: Major
> Labels: regression
> Fix For: 4.0.0, 3.0.1 PDFBox, 2.0.28
>
> Attachments: PDFBOX-3797-5WULWDW54DAQ4ORVJSACEE2KCXQ7PQLL.pdf
>
>
> {code}
> java.io.IOException: Error reading stream, expected='endstream' actual='' at offset 21570
> org.apache.pdfbox.pdfparser.COSParser.parseCOSStream(COSParser.java:996)
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:782)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:743)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:674)
> org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:634)
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:241)
> org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:276)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1005)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:943)
> {code}
> This didn't happen with 2.0.5.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org