java.lang.AssertionError: Lock use count is zero

Terracotta | fuzy | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    TerracottaSessionManager crashes server with Jetty continuations

    Terracotta | 9 years ago | fuzy
    java.lang.AssertionError: Lock use count is zero

    Root Cause Analysis

    1. java.lang.AssertionError

      Lock use count is zero

      at com.tc.object.lockmanager.impl.ClientLock.decUseCount()
    2. com.tc.object
      ManagerUtil.commitLock
      1. com.tc.object.lockmanager.impl.ClientLock.decUseCount(ClientLock.java:812)
      2. com.tc.object.lockmanager.impl.ClientLockManagerImpl.decrementUseCount(ClientLockManagerImpl.java:309)
      3. com.tc.object.lockmanager.impl.ClientLockManagerImpl.unlock(ClientLockManagerImpl.java:342)
      4. com.tc.object.lockmanager.impl.ThreadLockManagerImpl.unlock(ThreadLockManagerImpl.java:64)
      5. com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:465)
      6. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:418)
      7. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:357)
      8. com.tc.object.bytecode.ManagerImpl.commitLock(ManagerImpl.java:366)
      9. com.tc.object.bytecode.ManagerUtil.commitLock(ManagerUtil.java:245)
      9 frames
    3. Terracotta Sessions for Jetty
      TerracottaSessionManager$Session.complete
      1. org.mortbay.terracotta.servlet.TerracottaSessionManager$Lock.unlock(TerracottaSessionManager.java:427)
      2. org.mortbay.terracotta.servlet.TerracottaSessionManager$Session.unlock(TerracottaSessionManager.java:348)
      3. org.mortbay.terracotta.servlet.TerracottaSessionManager$Session.complete(TerracottaSessionManager.java:332)
      3 frames
    4. Jetty Server
      SelectChannelConnector$RetryContinuation.run
      1. org.mortbay.jetty.servlet.AbstractSessionManager.complete(AbstractSessionManager.java:145)
      2. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:198)
      3. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      4. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      5. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      6. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      7. org.mortbay.jetty.Server.handle(Server.java:324)
      8. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      9. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:374)
      10. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      11. org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:506)
      11 frames
    5. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame