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

  1. ,
    Expert tip

    Check your pattern declaration or check your assert declaration.

Solutions on the web

via GitHub by hasancelik
, 1 year ago
expected:<0> but was:<1000>
via GitHub by hasancelik
, 1 year ago
expected:<0> but was:<1000>
via GitHub by Donnerbart
, 1 year ago
expected:<0> but was:<864>
via GitHub by mdogan
, 2 years ago
expected:<Value-0> but was:<null>
via GitHub by mdogan
, 2 years ago
expected:<Value-0> but was:<null>
via GitHub by hasancelik
, 1 year ago
expected:<0> but was:<1000>
java.lang.AssertionError: expected:<0> but was:<1000>	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.ringbuffer.impl.RingbufferMigrationTest.test(RingbufferMigrationTest.java:46)