You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "vakhtang koroghlishvili (JIRA)" <ji...@apache.org> on 2014/01/14 17:43:52 UTC
[jira] [Issue Comment Deleted] (PDFBOX-1846) NonSequentialPDFParser
Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vakhtang koroghlishvili updated PDFBOX-1846:
--------------------------------------------
Comment: was deleted
(was: Document looks like this)
> NonSequentialPDFParser Error
> ----------------------------
>
> Key: PDFBOX-1846
> URL: https://issues.apache.org/jira/browse/PDFBOX-1846
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.8.4
> Reporter: vakhtang koroghlishvili
> Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf
>
>
> What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software.
> No Problem.... Then I try to parse it... and we have one problem:
> Exception in thread "main" java.io.IOException: Missing end of file marker '%%EOF'
> at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
> at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
> at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
> I'm attaching sample document, Image, and fixing patch.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)