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.

  2. ,

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

Solutions on the web

via Stack Overflow by Core_Dumped
, 2 years ago
expected:<foo.Sandbox$A@3f86d38b> but was:<foo.Sandbox$A@206d63fd>
via Stack Overflow by Unknown author, 2 years ago
expected:<[java.lang.Object@56d5e457, java.lang.Object@7482384a]> but was:<null>
via GitHub by anuraaga
, 1 year ago
expected:<3> but was:<2>
via Google Groups by Peter Firmstone, 1 year ago
expected:<0> but was:<3>
via GitHub by hasancelik
, 2 years ago
expected:<500> but was:<4156>
Empty query.