Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2845

Error parsing PDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.10, 2.0.0
    • 1.8.11, 2.0.0
    • Parsing
    • None

    Description

      I get the following error when parsing this pdf: http://jmlr.csail.mit.edu/proceedings/papers/v28/ranganath13.pdf
      java.io.IOException: Object must be defined and must not be compressed object: 554:0

      Stack trace:
      Exception in thread "main" java.io.IOException: Object must be defined and must not be compressed object: 554:0
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:682)
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:646)
      at org.apache.pdfbox.pdfparser.COSParser.getLength(COSParser.java:847)
      at org.apache.pdfbox.pdfparser.COSParser.parseCOSStream(COSParser.java:906)
      at org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:732)
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:693)
      at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:646)
      at org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:607)
      at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:198)
      at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:225)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:848)
      at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:793)
      at org.apache.pdfbox.tools.ExtractText.startExtraction(ExtractText.java:192)
      at org.apache.pdfbox.tools.ExtractText.main(ExtractText.java:81)
      at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:55)

      Note this problem does not occur in 1.8.9

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            chrisclark Christopher Clark
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: