java.lang.IllegalStateException: Cache operations can not be performed. The cache closed

GitHub | Danny-Hazelcast | 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

    0.8.2 globalVerify of test ExpiryICacheTest.java Cache closed

    GitHub | 9 months ago | Danny-Hazelcast
    java.lang.IllegalStateException: Cache operations can not be performed. The cache closed

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cache operations can not be performed. The cache closed

      at com.hazelcast.cache.impl.AbstractCacheProxyBase.ensureOpen()
    2. Hazelcast
      CacheProxy.containsKey
      1. com.hazelcast.cache.impl.AbstractCacheProxyBase.ensureOpen(AbstractCacheProxyBase.java:123)
      2. com.hazelcast.cache.impl.CacheProxy.containsKey(CacheProxy.java:94)
      2 frames
    3. com.hazelcast.simulator
      ExpiryICacheTest.globalVerify
      1. com.hazelcast.simulator.tests.icache.ExpiryICacheTest.globalVerify(ExpiryICacheTest.java:63)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. com.hazelcast.simulator
      TestOperationProcessor$OperationThread.run
      1. com.hazelcast.simulator.test.MethodInvokingCallable.call(MethodInvokingCallable.java:34)
      2. com.hazelcast.simulator.test.TestContainer.invoke(TestContainer.java:164)
      3. com.hazelcast.simulator.protocol.processors.TestOperationProcessor$1.doRun(TestOperationProcessor.java:145)
      4. com.hazelcast.simulator.protocol.processors.TestOperationProcessor$OperationThread.run(TestOperationProcessor.java:218)
      4 frames