java.lang.AssertionError: expected:<SAFE> but was:<REPLICA_NOT_OWNED>

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.

java.lang.AssertionError: expected:<SAFE> but was:<REPLICA_NOT_OWNED>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.hazelcast.internal.partition.impl.PartitionReplicaStateCheckerTest.shouldNotBeSafe_whenUnknownReplicaOwnerPresent_whileNotActive(PartitionReplicaStateCheckerTest.java:165)

Users with the same issue

30 times, 5 months ago
Once, 2 months ago
3 times, 6 months ago
69 times, 1 month ago
Once, 2 weeks ago

Write tip

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