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 2013/11/04 19:09:19 UTC
[jira] [Closed] (PDFBOX-1544) Not able to loadNonSeq document
larger than 2GB
[ https://issues.apache.org/jira/browse/PDFBOX-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler closed PDFBOX-1544.
--------------------------------------
Resolution: Duplicate
Assignee: Andreas Lehmkühler
The proposed change is part of PDFBOX-1639. Closed as duplicate
However, thanks for the contribution!
> Not able to loadNonSeq document larger than 2GB
> -----------------------------------------------
>
> Key: PDFBOX-1544
> URL: https://issues.apache.org/jira/browse/PDFBOX-1544
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing, PDModel
> Affects Versions: 1.7.1
> Reporter: Pierre Huttin
> Assignee: Andreas Lehmkühler
>
> When I try to open open a document larger than 2GB (I have test with a 21GB document) using the method PDDocument.loadNonSeq(). The PDFParser trigger me the following error:
> Exception in thread "main" java.io.IOException: Error: Expected an integer type, actual='22580639698'
> at org.apache.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1608)
> at org.apache.pdfbox.pdfparser.PDFParser.parseStartXref(PDFParser.java:677)
> at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:237)
> at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:574)
> at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1124)
> at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1107)
>
> the problem seems to come from BaseParser which try to return int type.
--
This message was sent by Atlassian JIRA
(v6.1#6144)