org.ehcache.StateTransitionException: Cache 'clustered-cache' creation in EhcacheManager failed.

GitHub | lorban | 8 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

    NPE when there's no resource pool on the cache manager but a cache is configured with a shared one

    GitHub | 8 months ago | lorban
    org.ehcache.StateTransitionException: Cache 'clustered-cache' creation in EhcacheManager failed.
  2. 0

    Cache creation with non-existent shared pool throws an NPE

    GitHub | 8 months ago | albinsuresh
    java.lang.IllegalStateException: Cache 'clustered-cache' creation in EhcacheManager failed.

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.terracotta.offheapstore.OffHeapHashMap.allocateTable()
    2. org.terracotta.offheapstore
      EvictionListeningReadWriteLockedOffHeapClockCache.<init>
      1. org.terracotta.offheapstore.OffHeapHashMap.allocateTable(OffHeapHashMap.java:1256)
      2. org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:213)
      3. org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:188)
      4. org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:168)
      5. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.<init>(AbstractLockedOffHeapHashMap.java:51)
      6. org.terracotta.offheapstore.AbstractOffHeapClockCache.<init>(AbstractOffHeapClockCache.java:56)
      7. org.terracotta.offheapstore.ReadWriteLockedOffHeapClockCache.<init>(ReadWriteLockedOffHeapClockCache.java:45)
      8. org.terracotta.offheapstore.eviction.EvictionListeningReadWriteLockedOffHeapClockCache.<init>(EvictionListeningReadWriteLockedOffHeapClockCache.java:33)
      8 frames
    3. org.ehcache.clustered
      EhcacheActiveEntity.invoke
      1. org.ehcache.clustered.server.offheap.OffHeapChainMap.<init>(OffHeapChainMap.java:66)
      2. org.ehcache.clustered.server.offheap.OffHeapServerStore.<init>(OffHeapServerStore.java:38)
      3. org.ehcache.clustered.server.ServerStoreImpl.<init>(ServerStoreImpl.java:38)
      4. org.ehcache.clustered.server.EhcacheActiveEntity.createServerStore(EhcacheActiveEntity.java:727)
      5. org.ehcache.clustered.server.EhcacheActiveEntity.invokeLifeCycleOperation(EhcacheActiveEntity.java:308)
      6. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:277)
      7. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:80)
      7 frames
    4. com.tc.objectserver
      RequestProcessorHandler.handleEvent
      1. com.tc.objectserver.entity.ManagedEntityImpl.lambda$performAction$27(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$20(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
    5. 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