java.lang.AssertionError: Lock use count is zero

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta by fuzy, 1 year ago
java.lang.AssertionError: Lock use count is zero
at com.tc.object.lockmanager.impl.ClientLock.decUseCount(ClientLock.java:812)
at com.tc.object.lockmanager.impl.ClientLockManagerImpl.decrementUseCount(ClientLockManagerImpl.java:309)
at com.tc.object.lockmanager.impl.ClientLockManagerImpl.unlock(ClientLockManagerImpl.java:342)
at com.tc.object.lockmanager.impl.ThreadLockManagerImpl.unlock(ThreadLockManagerImpl.java:64)
at com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:465)
at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:418)
at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:357)
at com.tc.object.bytecode.ManagerImpl.commitLock(ManagerImpl.java:366)
at com.tc.object.bytecode.ManagerUtil.commitLock(ManagerUtil.java:245)
at org.mortbay.terracotta.servlet.TerracottaSessionManager$Lock.unlock(TerracottaSessionManager.java:427)
at org.mortbay.terracotta.servlet.TerracottaSessionManager$Session.unlock(TerracottaSessionManager.java:348)
at org.mortbay.jetty.servlet.AbstractSessionManager.complete(AbstractSessionManager.java:145)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:198)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:374)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.