ICEpdf
  1. ICEpdf
  2. PDF-681

File access lock occurring during annotation initialization.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:
    • Workaround Description:
      none

      Description

      The PDF in question contains an annotation initialization ordering that is causing the LazyObjectLoader to lock when initializing the first annotation on page three.

      I can see why the lock is occurring but I can't figure out why is doesn't show up in QA as this is not an uncommon code path.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        I have a fix for the problem which differs the class initialization until after the Annotation object is returned from the parser.

        Show
        Patrick Corless added a comment - I have a fix for the problem which differs the class initialization until after the Annotation object is returned from the parser.
        Judy Guglielmin made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000XSo6QAAT
        Hide
        Patrick Corless added a comment -

        Applied fix to trunk and 5.0.1 branch to avoid freezing during loading of PDF file.

        Show
        Patrick Corless added a comment - Applied fix to trunk and 5.0.1 branch to avoid freezing during loading of PDF file.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38836 Wed Nov 20 14:10:26 MST 2013 patrick.corless PDF-681 fix a file access lock when initializing annotations from the builder call
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38837 Wed Nov 20 14:10:44 MST 2013 patrick.corless PDF-681 fix a file access lock when initializing annotations from the builder call
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38838 Wed Nov 20 14:37:12 MST 2013 patrick.corless PDF-681 put back clipping code for annotations that was accidentally checked in.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: