expected null, but was:<>

Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6790

  • expected null, but was:<>
  • via GitHub by egonw
    , 6 months ago
    expected null, but was:<>
  • expected:<null> but was:<>
  • Stack trace

    • java.lang.AssertionError: expected null, but was:<> at at org.junit.Assert.failNotNull( at org.junit.Assert.assertNull( at org.junit.Assert.assertNull( at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 weeks ago
    Once, 3 weeks ago
    5 times, 2 months ago
    2 times, 6 months ago
    Once, 7 months ago
    98 more bugmates