java.lang.AssertionError

The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81>

Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7742

  • The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81>
  • via GitHub by hasancelik
    , 7 months ago
    The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81>
  • via GitHub by hasancelik
    , 5 months ago
    The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<162>
  • Stack trace

    • java.lang.AssertionError: The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at com.hazelcast.internal.nearcache.AbstractBasicNearCacheTest.testNearCacheMemoryCostCalculation(AbstractBasicNearCacheTest.java:386) at com.hazelcast.internal.nearcache.AbstractBasicNearCacheTest.testNearCacheMemoryCostCalculation(AbstractBasicNearCacheTest.java:335) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:88) at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:82) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 weeks ago
    4 times, 2 months ago
    3 times, 2 months ago
    74 times, 3 months ago
    3 times, 6 months ago
    98 more bugmates