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

IOException: Object must be defined and must not be compressed object: 0:0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.8, 2.0.0
    • Fix Version/s: 1.8.8, 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Exception in thread "main" java.io.IOException: Object must be defined and must not be compressed object: 0:0
      	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1477)
      	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1614)
      	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseObjectDynamically(NonSequentialPDFParser.java:1441)
      	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:513)
      	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:1013)
      	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:951)
      	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:897)
      	at org.apache.pdfbox.tools.PDFReader.parseDocument(PDFReader.java:375)
      	at org.apache.pdfbox.tools.PDFReader.openPDFFile(PDFReader.java:340)
      	at org.apache.pdfbox.tools.PDFReader.main(PDFReader.java:326)
      	at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:80)
      

      The xref table looks like this:

      xref
      0 142
      0000000000 65535 f
      0000000000 00000 n
      0000303104 00000 n
      0000000000 00000 n
      0000303104 00000 n
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: