stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject [Discuss] [Issue] IllegalMonitorStateException is raised when releasing a lock
Date Fri, 06 Feb 2015 13:11:13 GMT
Hi Devs,

I see $subject and according to Java documentation this could happen if a
thread is trying to release a lock acquired by a different thread:

[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 java.lang.IllegalMonitorStateException
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.stratos.common.concurrent.locks.ReadWriteLock.releaseWriteLock(ReadWriteLock.java:145)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.stratos.cloud.controller.messaging.topology.TopologyManager.releaseWriteLock(TopologyManager.java:66)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl.terminateInstance(CloudControllerServiceImpl.java:607)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2015-02-06 18:30:09,822]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.lang.reflect.Method.invoke(Method.java:606)

Thanks


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message