Manuel Aristaran created PDFBOX-1603:
----------------------------------------

             Summary: 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


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

Reply via email to