java.lang.IllegalMonitorStateException

Sync[state=-1; owner=Thread[TP-Processor51,5,main]]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web190

  • via Atlassian JIRA by Chris Fuller, 9 months ago
    Sync[state=-1; owner=Thread[TP-Processor51,5,main]]
  • Current thread is not owner of the lock! -> Owner: null, thread-id: -1 at com.hazelcast.concurrent.lock.UnlockOperation.run(UnlockOperation.java:51)
  • via Coderanch by AshutoshP Patil, 11 months ago
    current thread not owner
  • Stack trace

    • java.lang.IllegalMonitorStateException: Sync[state=-1; owner=Thread[TP-Processor51,5,main]] at com.atlassian.cache.impl.OneShotLatch$Sync.tryAcquireShared(OneShotLatch.java:82) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282) at com.atlassian.cache.impl.OneShotLatch.await(OneShotLatch.java:31) at com.atlassian.cache.memory.BlockingCacheLoader.acquire(BlockingCacheLoader.java:83) at com.atlassian.cache.memory.DelegatingCache$DelegatingLoadingCache.remove(DelegatingCache.java:344) at com.atlassian.cache.compat.jira.delegate.DelegatingCache.remove(DelegatingCache.java:47) at com.example.jira.plugin.ExampleComponent$CacheLoader.load(ExampleComponent.java:70) at com.atlassian.cache.compat.jira.delegate.DelegatingCacheLoader.load(DelegatingCacheLoader.java:21) at com.atlassian.cache.memory.MemoryCacheManager$3$1.load(MemoryCacheManager.java:137) at com.atlassian.cache.memory.BlockingCacheLoader.load(BlockingCacheLoader.java:51)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.