You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/09/12 16:34:34 UTC

[jira] [Updated] (PDFBOX-2250) Improve XRef self healing mechanism

     [ https://issues.apache.org/jira/browse/PDFBOX-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-2250:
------------------------------------
    Attachment: PDFBOX-2250-229205.pdf

The attached file PDFBOX-2250-229205.pdf has an NPE, resulting from "Cannot add trailer because XRef start was not signalled". Upcoming fix will slightly modify my previous fix (1619255) related to empty xref tables, so that curXrefTrailerObj isn't null but empty instead.

> 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
>         Attachments: PDFBOX-2250-107425-empty-xref.pdf, PDFBOX-2250-110264-xref-zeronumber.pdf, PDFBOX-2250-229205.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)