[infinispan-issues] [JBoss JIRA] (ISPN-2378) IllegalMonitorStateException when using LockSupportCacheStore.loadAllKeys

Thomas Fromm (JIRA) jira-events at lists.jboss.org
Mon Nov 26 15:09:21 EST 2012


     [ https://issues.jboss.org/browse/ISPN-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fromm updated ISPN-2378:
-------------------------------

              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/1483

    
> 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: Thomas Fromm
>            Priority: Critical
>         Attachments: ISPN2378.java
>
>
> 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


More information about the infinispan-issues mailing list