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 jhenrics
, 2 years ago
' 1' expected:<1457219> but was:<1>
via GitHub by anuraaga
, 1 year ago
expected:<3> but was:<2>
via Google Groups by Rajini Sivaram, 3 weeks ago
expected:<5> but was:<1>
via GitHub by Frank-Bradley
, 2 years ago
i: 1 expected: but was:
java.lang.AssertionError: expected:<1> but was:<2>	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 games.strategy.triplea.delegate.WW2V3_41_Test.testAACasualtiesLowLuckMixedWithRollingMissRadar(WW2V3_41_Test.java:227)