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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by hasancelik
, 9 months ago
The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81>
via quickfixj.org by Unknown author, 1 year ago
expected:<3> but was:<4>
via GitHub by hasancelik
, 8 months ago
Expecting only 1 clear event expected:<1> but was:<0>
via GitHub by hasancelik
, 2 months ago
Expecting only 1 clear event expected:<1> but was:<0>
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 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)

Users with the same issue

Once, 11 months ago
3 times, 2 weeks ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
123 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.