You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Manuel Aristaran (JIRA)" <ji...@apache.org> on 2013/05/19 20:15:16 UTC
[jira] [Comment Edited] (PDFBOX-1603) Regression in
PDDocument.loadNonSeq ?
[ https://issues.apache.org/jira/browse/PDFBOX-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661620#comment-13661620 ]
Manuel Aristaran edited comment on PDFBOX-1603 at 5/19/13 6:15 PM:
-------------------------------------------------------------------
This one (gre.pdf) worked with loadNonSeq previously, fails now.
was (Author: maristaran):
This one worked with loadNonSeq previously, fails now.
> Regression in PDDocument.loadNonSeq ?
> -------------------------------------
>
> Key: PDFBOX-1603
> URL: https://issues.apache.org/jira/browse/PDFBOX-1603
> Project: PDFBox
> Issue Type: Bug
> Environment: jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06-451-11M4406 [darwin-x86_64]
> Reporter: Manuel Aristaran
> Attachments: gre.pdf
>
>
> Sometime ago I reported PDFBOX-1483, when I came across a PDF (attached to that issue) that couldn't be loaded with PDDocument.load but worked fine with PDDocument.loadNonSeq. The latter method worked with all the PDFs I tested.
> Now (PDFBox-2.0.0-SNAPSHOT, just built from source) PDDocument.loadNonSeq is failing for all the PDFs that were previously working.
> Sample traceback:
> Java::JavaIo::IOException: Object must be defined and must not be compressed object: 13:0
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1115)
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1078)
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:343)
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:657)
> org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1245)
> org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1228)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira