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

    4 times, last one
    2 times, last one
    3 times, last one
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates