Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion