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

IOException when parsing 1.3 PDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • Parsing
    • None

    Description

      [imported from SourceForge]
      http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1786901
      Originally submitted by nobody on 2007-09-02 22:57.

      JAVA CODE:PDDocument pdfDoc = PDDocument.load("d:/pdf/1201198.PDF");

      PDFBOX VERSION:0.7.3

      PDF File version:1.3

      EXCEPTION:java.io.IOException: expected='endobj' firstReadAttempt='' secondReadAttempt='' org.pdfbox.io.PushBackInputStream@13e8d89
      at org.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:502)
      at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:176)
      at ecwise.pdf.TPDFParse.loadPDF(TPDFParse.java:19)
      at ecwise.pdf.TPDFParse.main(TPDFParse.java:28)

      but if pdf file version is 1.4,it works well.

      can anybody help me?

      thanks.

      [comment on SourceForge]
      Originally sent by nobody.
      Logged In: NO

      what is the root cause of this exception?how to solve this?

      Attachments

        1. COS1102A015v1.pdf
          6.28 MB
          Pontus Hulin

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: