java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.IllegalStateException: Cache 'clustered-cache' creation in EhcacheManager failed. at org.ehcache.core.EhcacheManager.createCache(EhcacheManager.java:285) at org.ehcache.core.EhcacheManager.createCache(EhcacheManager.java:235) at org.ehcache.core.EhcacheManager.createCache(EhcacheManager.java:230) at org.ehcache.clustered.client.BasicClusteredCacheTest.testSharedCacheCreationWithNoResourcePool(BasicClusteredCacheTest.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Caused by: org.ehcache.StateTransitionException: Error creating server-side cache for clustered-cache at org.ehcache.core.StatusTransitioner$Transition.succeeded(StatusTransitioner.java:209) at org.ehcache.core.Ehcache.init(Ehcache.java:582) at org.ehcache.core.EhcacheManager.createCache(EhcacheManager.java:258) ... 32 more Caused by: org.ehcache.clustered.common.ClusteredStoreCreationException: Error creating server-side cache for clustered-cache at org.ehcache.clustered.client.internal.service.DefaultClusteringService.getServerStoreProxy(DefaultClusteringService.java:310) at org.ehcache.clustered.client.internal.store.ClusteredStore$Provider.initStore(ClusteredStore.java:519) at org.ehcache.core.EhcacheManager$8.init(EhcacheManager.java:496) at org.ehcache.core.StatusTransitioner.runInitHooks(StatusTransitioner.java:135) at org.ehcache.core.StatusTransitioner.access$000(StatusTransitioner.java:33) at org.ehcache.core.StatusTransitioner$Transition.succeeded(StatusTransitioner.java:194) ... 34 more Caused by: org.ehcache.CachePersistenceException: LIFECYCLE_OP error: java.lang.NullPointerException at org.ehcache.clustered.client.internal.EhcacheClientEntity.invokeInternal(EhcacheClientEntity.java:236) at org.ehcache.clustered.client.internal.EhcacheClientEntity.createCache(EhcacheClientEntity.java:156) at org.ehcache.clustered.client.internal.service.DefaultClusteringService.getServerStoreProxy(DefaultClusteringService.java:308) ... 39 more Caused by: java.lang.NullPointerException at org.terracotta.offheapstore.OffHeapHashMap.allocateTable(OffHeapHashMap.java:1256) at org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:213) at org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:188) at org.terracotta.offheapstore.OffHeapHashMap.<init>(OffHeapHashMap.java:168) at org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.<init>(AbstractLockedOffHeapHashMap.java:51) at org.terracotta.offheapstore.AbstractOffHeapClockCache.<init>(AbstractOffHeapClockCache.java:56) at org.terracotta.offheapstore.ReadWriteLockedOffHeapClockCache.<init>(ReadWriteLockedOffHeapClockCache.java:45) at org.terracotta.offheapstore.eviction.EvictionListeningReadWriteLockedOffHeapClockCache.<init>(EvictionListeningReadWriteLockedOffHeapClockCache.java:33) at org.ehcache.clustered.server.offheap.OffHeapChainMap.<init>(OffHeapChainMap.java:66) at org.ehcache.clustered.server.offheap.OffHeapServerStore.<init>(OffHeapServerStore.java:38) at org.ehcache.clustered.server.ServerStoreImpl.<init>(ServerStoreImpl.java:38) at org.ehcache.clustered.server.EhcacheActiveEntity.createServerStore(EhcacheActiveEntity.java:730) at org.ehcache.clustered.server.EhcacheActiveEntity.invokeLifeCycleOperation(EhcacheActiveEntity.java:308) at org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:277) at org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:80) at org.terracotta.passthrough.PassthroughServerProcess.sendActiveInvocation(PassthroughServerProcess.java:499) at org.terracotta.passthrough.PassthroughServerProcess.invoke(PassthroughServerProcess.java:479) at org.terracotta.passthrough.PassthroughServerMessageDecoder.decode(PassthroughServerMessageDecoder.java:277) at org.terracotta.passthrough.PassthroughServerMessageDecoder.decode(PassthroughServerMessageDecoder.java:37) at org.terracotta.passthrough.PassthroughMessageCodec.runRawDecoder(PassthroughMessageCodec.java:399) at org.terracotta.passthrough.PassthroughMessageCodec.decodeRawMessage(PassthroughMessageCodec.java:322) at org.terracotta.passthrough.PassthroughServerProcess.serverThreadHandleMessage(PassthroughServerProcess.java:467) at org.terracotta.passthrough.PassthroughServerProcess.runServerThread(PassthroughServerProcess.java:443) at org.terracotta.passthrough.PassthroughServerProcess.access$000(PassthroughServerProcess.java:77) at org.terracotta.passthrough.PassthroughServerProcess$2.run(PassthroughServerProcess.java:210) at java.lang.Thread.run(Thread.java:745)
No Bugmate found.