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/05/23 18:32:20 UTC
[jira] [Resolved] (PDFBOX-1603) Regression in PDDocument.loadNonSeq
?
[ https://issues.apache.org/jira/browse/PDFBOX-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-1603.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.2
Assignee: Andreas Lehmkühler
Trailer objects don't have to be uncompressed. I fixed this in revision 1485771.
Thanks for the report!
> Regression in PDDocument.loadNonSeq ?
> -------------------------------------
>
> Key: PDFBOX-1603
> URL: https://issues.apache.org/jira/browse/PDFBOX-1603
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.1
> 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
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.2
>
> 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