[
https://issues.jboss.org/browse/ISPN-2378?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-2378:
-------------------------------------
can you please detail a bit on how to reproduce this one?
Ideally an unit test :-)
IllegalMonitorStateException when using
LockSupportCacheStore.loadAllKeys
-------------------------------------------------------------------------
Key: ISPN-2378
URL:
https://issues.jboss.org/browse/ISPN-2378
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 5.2.0.Beta1
Reporter: Thomas Fromm
Assignee: Mircea Markus
Priority: Critical
When accessing cache store from different threads:
java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by
current thread
at
java.util.concurrent.locks.ReentrantReadWriteLock$Sync.unmatchedUnlockException(ReentrantReadWriteLock.java:447)
at
java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:431)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1340)
at
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883)
at
org.infinispan.util.concurrent.locks.StripedLock.releaseGlobalLock(StripedLock.java:243)
at
org.infinispan.loaders.LockSupportCacheStore.releaseGlobalLock(LockSupportCacheStore.java:134)
at
org.infinispan.loaders.LockSupportCacheStore.loadAllKeys(LockSupportCacheStore.java:177)
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira