ICEpdf
  1. ICEpdf
  2. PDF-168

Applet dipose causing IllegalMonitorStateException on reload

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Applet example, appletviewer or j2se browser plugin

      Description

      When ICEpdf is used with JDK 1.6 in an applet deployement a reload of the applet causes an IllegalMonitorStateException exception to occur. There appears to be more information on this at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6627356 .

      In our application code we have two static ThreadPoolExecutors which to pasing and paint work for all open documents. It appears that the only work around to this issue is to create a new isntance of the thread pools for each open document and then shutdown the pool when the document is clossed. This approach is alittle heavier then the old but it gets around the applet issue and it only affects the viewer RI, the render core is untouched.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.1 [ 10227 ]
        Affects Version/s 4.0 [ 10222 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: