Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
If you launch the following applet and then click on the browsers reload button, you will get the exception below. However, if you open a 2nd browser tab and launch the applet there as well, you will not get that exception when you click on the browsers reload button on either the 1st or 2nd tab containing the applets. This happens on both IE and FireFox. I tested this on WindowsXP using 6u5-b07. Applet: http://swinglabs.java.sun.com/iris/ Exception in thread "pool-6-thread-1" java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source) at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source) at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Editor.rebuildScaledImages
|