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

GitHub | Danny-Hazelcast | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    0.8.2 globalVerify of test ExpiryICacheTest.java Cache closed

    GitHub | 6 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