Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf PRO 4.3.2, Java 1.6_25

      Description

      The attached document come up blank when open with our ICEpdf Viewer.

        Activity

        Evgheni Sadovoi created issue -
        Evgheni Sadovoi made changes -
        Field Original Value New Value
        Salesforce Case [5007000000LHhhM]
        Component/s Core [ 10022 ]
        Patrick Corless made changes -
        Fix Version/s 4.3.3 [ 10333 ]
        Hide
        Patrick Corless added a comment -

        Duplicate/accidental first post of PDF-428.

        Show
        Patrick Corless added a comment - Duplicate/accidental first post of PDF-428 .
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28821 Thu Apr 26 09:19:22 MDT 2012 patrick.corless PDF-426 updaed parser to compensate for a an obj definition that is missing the an enobj closing token.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Parser.java
        Hide
        Patrick Corless added a comment -

        I've taken a closer look at this issue. The problem is related to a malformed PDF objects streams. In particular all the font objects in the file are missing the "endobj" token. In such a case our object paser will keep parsing until it finds the next "endobj" which in this case won't return a font as expected by the content parser.

        I have a work around for the Parser that will do a simple check when a 'obj" token is countered to make sure that there isn't already an object on the stack.

        Show
        Patrick Corless added a comment - I've taken a closer look at this issue. The problem is related to a malformed PDF objects streams. In particular all the font objects in the file are missing the "endobj" token. In such a case our object paser will keep parsing until it finds the next "endobj" which in this case won't return a font as expected by the content parser. I have a work around for the Parser that will do a simple check when a 'obj" token is countered to make sure that there isn't already an object on the stack.
        Patrick Corless made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Patrick Corless added a comment -

        Fix seems to address the missing content. Closed.

        Show
        Patrick Corless added a comment - Fix seems to address the missing content. Closed.
        Patrick Corless made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28932 Fri May 04 08:25:42 MDT 2012 patrick.corless PDF-426 updated parser to compensate for a an obj definition that is missing the an enobj closing token.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.2/icepdf/core/src/org/icepdf/core/util/Parser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: