java.lang.IllegalMonitorStateException: ******************************************************************************* An IllegalStateMonitor is usually caused by one of the following: 1) No synchronization 2) The object synchronized is not the same as the object waited/notified 3) The object being waited/notified on is a Terracotta distributed object, but no Terracotta auto-lock has been specified. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting *******************************************************************************

Terracotta | horkhe | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IllegalMonitorStateException but everything seems synchronized

    Terracotta | 8 years ago | horkhe
    java.lang.IllegalMonitorStateException: ******************************************************************************* An IllegalStateMonitor is usually caused by one of the following: 1) No synchronization 2) The object synchronized is not the same as the object waited/notified 3) The object being waited/notified on is a Terracotta distributed object, but no Terracotta auto-lock has been specified. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting *******************************************************************************

    Root Cause Analysis

    1. java.lang.IllegalMonitorStateException

      ******************************************************************************* An IllegalStateMonitor is usually caused by one of the following: 1) No synchronization 2) The object synchronized is not the same as the object waited/notified 3) The object being waited/notified on is a Terracotta distributed object, but no Terracotta auto-lock has been specified. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting *******************************************************************************

      at com.tc.object.tx.ClientTransactionManagerImpl.wait()
    2. com.tc.object
      ManagerUtil.objectWait0
      1. com.tc.object.tx.ClientTransactionManagerImpl.wait(ClientTransactionManagerImpl.java:218)
      2. com.tc.object.bytecode.ManagerImpl.objectWait0(ManagerImpl.java:410)
      3. com.tc.object.bytecode.ManagerUtil.objectWait0(ManagerUtil.java:427)
      3 frames
    3. com.synapsense.avrorati
      Simulator$1.run
      1. com.synapsense.avrorati.sync.Simulator.__tc_wrapped_workerThreadLogic(Simulator.java:151)
      2. com.synapsense.avrorati.sync.Simulator.workerThreadLogic(Simulator.java)
      3. com.synapsense.avrorati.sync.Simulator.access$0(Simulator.java:147)
      4. com.synapsense.avrorati.sync.Simulator$1.run(Simulator.java:65)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame