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. ,

    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.

  2. ,

    Check your assert declaration and the method implementation with the condition.

Solutions on the web

via GitHub by elharo
, 1 year ago
expected null, but was:<>
via GitHub by egonw
, 1 year ago
expected null, but was:<>
via GitHub by navis
, 2 years ago
expected null, but was:<11,11,1450659858789,1450659858789,0,0,0,95070444354404353,25,0,11 >
via GitHub by fjy
, 2 years ago
expected null, but was:<10,10,1451284237249,1451284237249,0,0,0,95111363629613057,25,0,10 >
java.lang.AssertionError: expected null, but was:<>	at	at org.junit.Assert.failNotNull(	at org.junit.Assert.assertNull(	at org.junit.Assert.assertNull(	at