java.lang.AssertionError

Lock use count is zero

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 web1309

  • Lock use count is zero
  • Owned entry count is wrong! expected:<90000> but was:<69556>
  • via Sonatype JIRA by Benjamin Hanzelmann, 1 year ago
    Template count is wrong! Expected: <12> but: was <13>
  • Stack trace

    • 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.terracotta.servlet.TerracottaSessionManager$Session.complete(TerracottaSessionManager.java:332) 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) at org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:506) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

    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.