java.lang.AssertionError: expected:<1239> but was:<1238>

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

Samebug tips

,
Expert tip

Check your pattern declaration or check your assert declaration.

Solutions on the web

java.lang.AssertionError: expected:<1239> but was:<1238>
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 org.junit.Assert.assertEquals(Assert.java:631)
at com.hazelcast.client.map.impl.nearcache.ClientMapNearCacheTest.assertThatOwnedEntryCountEquals(ClientMapNearCacheTest.java:1095)
at com.hazelcast.client.map.impl.nearcache.ClientMapNearCacheTest.testGetAsyncPopulatesNearCache(ClientMapNearCacheTest.java:170)

Users with the same issue

Once, 4 months ago
17 times, 5 months ago
Once, 4 months ago
52 times, 1 week ago
Once, 2 weeks ago
123 more bugmates

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