java.lang.AssertionError: expected:<base2> but was:<secondBase>

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 willrogers
, 1 year ago
expected:<base2> but was:<secondBase>
via GitHub by kamejosh
, 2 years ago
expected:<WAV> but was:<MP3>
via GitHub by hasancelik
, 1 year ago
expected:<0> but was:<1000>
via agilefaqs.com by Unknown author, 10 months ago
via GitHub by hasancelik
, 2 years ago
expected:<500> but was:<4156>
via Google Groups by Erik Ramfelt, 4 months ago
java.lang.AssertionError: expected:<base2> but was:<secondBase>
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 org.csstudio.saverestore.git.GitManagerTest.testGetBaseLevels(GitManagerTest.java:302)

Users with the same issue

5 times, 8 hours ago
Once, 2 days ago
Once, 1 week ago
2 times, 1 week ago
Once, 2 weeks ago

Write tip

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