java.lang.AssertionError

GitHub | lorban | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

      No message provided

      at org.terracotta.offheapstore.storage.allocator.LongBestFitAllocator.unlinkSmallChunk()
    2. org.terracotta.offheapstore
      OffHeapStorageArea.free
      1. org.terracotta.offheapstore.storage.allocator.LongBestFitAllocator.unlinkSmallChunk(LongBestFitAllocator.java:642)
      2. org.terracotta.offheapstore.storage.allocator.LongBestFitAllocator.unlinkChunk(LongBestFitAllocator.java:617)
      3. org.terracotta.offheapstore.storage.allocator.LongBestFitAllocator.dlfree(LongBestFitAllocator.java:478)
      4. org.terracotta.offheapstore.storage.allocator.LongBestFitAllocator.free(LongBestFitAllocator.java:155)
      5. org.terracotta.offheapstore.paging.OffHeapStorageArea.free(OffHeapStorageArea.java:336)
      5 frames
    3. org.ehcache.clustered
      OffHeapChainStorageEngine.freeMapping
      1. org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine$AttachedInternalChain.free(OffHeapChainStorageEngine.java:378)
      2. org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine$AttachedInternalChain.access$000(OffHeapChainStorageEngine.java:227)
      3. org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine.freeMapping(OffHeapChainStorageEngine.java:83)
      3 frames
    4. org.terracotta.offheapstore
      AbstractLockedOffHeapHashMap.put
      1. org.terracotta.offheapstore.OffHeapHashMap.removeAtTableOffset(OffHeapHashMap.java:1646)
      2. org.terracotta.offheapstore.AbstractOffHeapClockCache.evict(AbstractOffHeapClockCache.java:240)
      3. org.terracotta.offheapstore.eviction.EvictionListeningReadWriteLockedOffHeapClockCache.evict(EvictionListeningReadWriteLockedOffHeapClockCache.java:53)
      4. org.terracotta.offheapstore.AbstractOffHeapClockCache.storageEngineFailure(AbstractOffHeapClockCache.java:92)
      5. org.terracotta.offheapstore.OffHeapHashMap.writeEntry(OffHeapHashMap.java:689)
      6. org.terracotta.offheapstore.OffHeapHashMap.put(OffHeapHashMap.java:471)
      7. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.put(AbstractLockedOffHeapHashMap.java:145)
      8. org.terracotta.offheapstore.OffHeapHashMap.put(OffHeapHashMap.java:461)
      9. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.put(AbstractLockedOffHeapHashMap.java:134)
      9 frames
    5. org.ehcache.clustered
      EhcacheActiveEntity.invoke
      1. org.ehcache.clustered.server.offheap.OffHeapChainMap.getAndAppend(OffHeapChainMap.java:100)
      2. org.ehcache.clustered.server.offheap.OffHeapServerStore.getAndAppend(OffHeapServerStore.java:93)
      3. org.ehcache.clustered.server.ServerStoreImpl.getAndAppend(ServerStoreImpl.java:70)
      4. org.ehcache.clustered.server.EhcacheActiveEntity.invokeServerStoreOperation(EhcacheActiveEntity.java:396)
      5. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:308)
      6. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:88)
      6 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