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

java.io.IOException: Object at offset does not end with 'endobj'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 1.8.5, 2.0.0
    • Component/s: Parsing
    • Labels:
      None
    • Environment:
      XP, W7

      Description

      I get this exception with the file amyuni2_05d__pdf1_3_acro4x.pdf (it was once part of the project, now no more, but it can still be found on the web):
      java.io.IOException: Object (48:0) at offset 161333 does not end with 'endobj'.

      This is true, the "endobject" is indeed missing in that file. However the content of endObjectKey is 49 0 obj, i.e. the start of a new object.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: