[
https://issues.apache.org/jira/browse/PDFBOX-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176298#comment-14176298
]
Tilman Hausherr commented on PDFBOX-2250:
-----------------------------------------
In the version before the last changes, I got this error:
SCHWERWIEGEND: Can't find the object xref at offset 25554
Exception in thread "main" java.io.IOException: Error: Expected a long type at
offset 25554, instead got '?Tl*OjlP^d8jp1Y#@J+&\)cfa&MC\?Y+WgkWs.4@'
Now it works without any error or warning and renders perfectly. The xref
offset is wrong, and every object from the xref is wrong, e.g. the first one is
said to be at 16 but it really at 17. The next one is said to be at 69 but is
really at 71. etc etc
> Improve XRef self healing mechanism
> -----------------------------------
>
> Key: PDFBOX-2250
> URL: https://issues.apache.org/jira/browse/PDFBOX-2250
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing
> Affects Versions: 1.8.6, 1.8.7, 2.0.0
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
> Attachments: 055794.pdf, 113223.pdf,
> PDFBOX-2250-107425-empty-xref.pdf, PDFBOX-2250-110264-xref-zeronumber.pdf,
> PDFBOX-2250-229205.pdf, PDFBOX-2250-233566.pdf
>
>
> PDFBOX-1769 introduced a "self healing" mechanism to repair corrupt XRef
> offsets. But that one was just a starter and there remain a lot of issues to
> be solved. I'm planing to solve at least some of them.
> All fixes and improvements are targeting the non-sequential parser and I
> won't port those changes to the old parser.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)