ERROR - java.lang.IllegalMonitorStateException - Possible Causes of IllegalMonitorStateException

Exception Thrown By:Cause
ClassMethod
ReentrantReadWriteLock.WriteLock public void
unlock()
if the current thread
does not hold this locknew
StampedLock public void
unlockWrite(long stamp)
if the stamp does not
match the current state of this lock.
StampedLock public void
unlockRead(long stamp)
if the stamp does not
match the current state of this lock.
StampedLock public void
unlock(long stamp)
if the stamp does not
match the current state of this lock.