Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

An advanced agent stops working with an exception



An advanced agent stops working with the java.lang.IllegalMonitorStateException exception.

Error Messages

java.lang.IllegalMonitorStateException: Current thread is not owner of the lock! -> <not-locked>
at com.hazelcast.concurrent.lock.operations.UnlockOperation.unlock( ~[hazelcast-enterprise-3.10_3.jar:3.10
at ~[hazelcast-enterprise-3.10_3.jar:3.10]
at ~[hazelcast-enterprise-3.10_1.jar:3.10]
at ~[hazelcast-enterprise-3.10_1.jar:3.10]
at ~[hazelcast-enterprise-3.10_1.jar:3.10]
at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process( ~[hazelcast-enterprise-3.10_1.jar:3.10]
at ~[hazelcast-enterprise-3.10_1.jar:3.10]
at ------ submitted from ------.(Unknown Source) ~[?:?]

Steps to Reproduce


Root Cause

A software use or operation error. The lock is a cluster lock which is held by the Hazelcast subsystem. The Hazelcast subsystem reboots when the error occurs. As a result, the cluster lock is not present.


Here’s the explanation for the reported behavior:
Do not restart the HazelCast cluster when users or Agents are working on it.


Suggest Edit

Published December 4, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us