junit.framework.ComparisonFailure

expected:<S> but was:<null>

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web182

  • via Stack Overflow by Riz
    ,
  • Stack trace

    • junit.framework.ComparisonFailure: expected:<S> but was:<null> at junit.framework.Assert.assertEquals(Assert.java:100) at junit.framework.Assert.assertEquals(Assert.java:107)

    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

    osvzsosvzs
    4 times, last one
    bernardpaulusbernardpaulus
    2 times, last one
    oddodd
    3 times, last one
    musketyrmusketyr
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates