java.lang.AssertionError: Failure to move mapping during release

GitHub | lorban | 9 months 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

    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

      Failure to move mapping during release

      at org.terracotta.offheapstore.paging.OffHeapStorageArea.moveAddressDown()
    2. org.terracotta.offheapstore
      OffHeapStorageArea.shrink
      1. org.terracotta.offheapstore.paging.OffHeapStorageArea.moveAddressDown(OffHeapStorageArea.java:607)
      2. org.terracotta.offheapstore.paging.OffHeapStorageArea.release(OffHeapStorageArea.java:544)
      3. org.terracotta.offheapstore.paging.OffHeapStorageArea.shrink(OffHeapStorageArea.java:646)
      3 frames
    3. org.ehcache.clustered
      OffHeapChainStorageEngine.shrink
      1. org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine.shrink(OffHeapChainStorageEngine.java:170)
      1 frame
    4. org.terracotta.offheapstore
      AbstractLockedOffHeapHashMap.shrink
      1. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.shrink(AbstractLockedOffHeapHashMap.java:562)
      1 frame
    5. org.ehcache.clustered
      EhcacheActiveEntity.invoke
      1. org.ehcache.clustered.server.offheap.OffHeapChainMap.shrink(OffHeapChainMap.java:310)
      2. org.ehcache.clustered.server.offheap.OffHeapServerStore.handleOversizeMappingException(OffHeapServerStore.java:179)
      3. org.ehcache.clustered.server.offheap.OffHeapServerStore.getAndAppend(OffHeapServerStore.java:95)
      4. org.ehcache.clustered.server.ServerStoreImpl.getAndAppend(ServerStoreImpl.java:70)
      5. org.ehcache.clustered.server.EhcacheActiveEntity.invokeServerStoreOperation(EhcacheActiveEntity.java:396)
      6. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:308)
      7. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:88)
      7 frames
    6. com.tc.objectserver
      RequestProcessorHandler.handleEvent
      1. com.tc.objectserver.entity.ManagedEntityImpl.lambda$performAction$38(ManagedEntityImpl.java:610)
      2. com.tc.objectserver.entity.ManagedEntityImpl.runWithHelper(ManagedEntityImpl.java:259)
      3. com.tc.objectserver.entity.ManagedEntityImpl.performAction(ManagedEntityImpl.java:610)
      4. com.tc.objectserver.entity.ManagedEntityImpl.invoke(ManagedEntityImpl.java:358)
      5. com.tc.objectserver.entity.ManagedEntityImpl.lambda$processInvokeRequest$31(ManagedEntityImpl.java:204)
      6. com.tc.objectserver.entity.ManagedEntityImpl$SchedulingRunnable.run(ManagedEntityImpl.java:837)
      7. com.tc.objectserver.entity.RequestProcessor$EntityRequest.invoke(RequestProcessor.java:219)
      8. com.tc.objectserver.entity.RequestProcessor$EntityRequest.run(RequestProcessor.java:211)
      9. com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:27)
      10. com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:23)
      10 frames
    7. com.tc.async
      StageImpl$WorkerThread.run
      1. com.tc.async.impl.StageQueueImpl$HandledContext.runWithHandler(StageQueueImpl.java:502)
      2. com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:197)
      2 frames