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

java.io.IOException: Missing root object specification in trailer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.6
    • Component/s: Parsing
    • Labels:

      Description

      java.io.IOException: Missing root object specification in trailer.

      java.io.IOException: Missing root object specification in trailer.
          org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2156)
          org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222)
          org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271)
          org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:987)
          org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:943)
          org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1369)
          org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1283)
          org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1266)
          org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:254)
          org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:85)
      

      This worked in 2.0.4. Files with the same issue (not attached):

      015664.pdf
      023505.pdf
      047586.pdf
      051613.pdf
      069020.pdf <= smallest, attached here
      193175.pdf
      287698.pdf
      303385.pdf
      526394.pdf
      587123.pdf
      643304.pdf
      

        Attachments

        1. 069020.pdf
          145 kB
          Tilman Hausherr

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: