java.lang.AssertionError: This should never be called.

Terracotta | bagnew | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    passive server crashes when active server disconnected, using networked-active-passive ha mode

    Terracotta | 9 years ago | bagnew
    java.lang.AssertionError: This should never be called.
  2. 0

    This came from a forum thread. http://forums.terracotta.org/forums/posts/list/5109.page Server dies with this exception. 2011-03-10 00:31:07,215 INFO - Terracotta Server instance has started up as ACTI VE node on 0.0.0.0:9510 successfully, and is now ready for work. java.lang.AssertionError: ManagedObjectImpl +--> identityHashCode: 53445334 +--> id: ObjectID=[2119] +--> className: com.terracotta.toolkit.collections.ConcurrentDistributedMapD so +--> version:664632 +--> state: MapManagedObjectState | +--> references: TCPersistableMap(2119)={ Map.size() = 1173, delta.size () = 1, removeCount = 0 } +--> isDirty:true +--> isNew:false +--> isReferenced:true +--> next: false prev: false is DIRTY at com.tc.objectserver.impl.ObjectManagerImpl.removeReferenceIfNecessary (ObjectManagerImpl.java:796) at com.tc.objectserver.impl.ObjectManagerImpl.basicRelease(ObjectManager Impl.java:760) at com.tc.objectserver.impl.ObjectManagerImpl.releaseAllAndCommit(Object ManagerImpl.java:661) at com.tc.objectserver.tx.ServerTransactionManagerImpl.commit(ServerTran sactionManagerImpl.java:387) at com.tc.objectserver.handler.CommitTransactionChangeHandler.handleEven t(CommitTransactionChangeHandler.java:31) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:127)

    Terracotta Project Issue Tracker | 6 years ago | Saravanan Subbiah
    java.lang.AssertionError: ManagedObjectImpl +--> identityHashCode: 53445334 +--> id: ObjectID=[2119] +--> className: com.terracotta.toolkit.collections.ConcurrentDistributedMapD so +--> version:664632 +--> state: MapManagedObjectState | +--> references: TCPersistableMap(2119)={ Map.size() = 1173, delta.size () = 1, removeCount = 0 } +--> isDirty:true +--> isNew:false +--> isReferenced:true +--> next: false prev: false is DIRTY at com.tc.objectserver.impl.ObjectManagerImpl.removeReferenceIfNecessary (ObjectManagerImpl.java:796) at com.tc.objectserver.impl.ObjectManagerImpl.basicRelease(ObjectManager Impl.java:760) at com.tc.objectserver.impl.ObjectManagerImpl.releaseAllAndCommit(Object ManagerImpl.java:661) at com.tc.objectserver.tx.ServerTransactionManagerImpl.commit(ServerTran sactionManagerImpl.java:387) at com.tc.objectserver.handler.CommitTransactionChangeHandler.handleEven t(CommitTransactionChangeHandler.java:31)

    Root Cause Analysis

    1. java.lang.AssertionError

      This should never be called.

      at com.tc.objectserver.tx.PassiveTransactionAccount.clientDead()
    2. com.tc.objectserver
      ChannelLifeCycleHandler.handleEvent
      1. com.tc.objectserver.tx.PassiveTransactionAccount.clientDead(PassiveTransactionAccount.java:73)
      2. com.tc.objectserver.tx.ServerTransactionManagerImpl.shutdownClient(ServerTransactionManagerImpl.java:126)
      3. com.tc.objectserver.handler.ChannelLifeCycleHandler.channelRemoved(ChannelLifeCycleHandler.java:67)
      4. com.tc.objectserver.handler.ChannelLifeCycleHandler.handleEvent(ChannelLifeCycleHandler.java:52)
      4 frames
    3. com.tc.async
      StageImpl$WorkerThread.run
      1. com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)
      1 frame