junit.framework.AssertionFailedError

Expected: <null> but was: descr

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1793

  • via GitHub by vpablos
    , 10 months ago
    Expected: <null> but was: descr
  • expected:<6> but was:<null>
  • expected:<true> but was:<null>
  • Stack trace

    • junit.framework.AssertionFailedError: Expected: <null> but was: descr at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.Assert.assertNull(Assert.java:277) at junit.framework.Assert.assertNull(Assert.java:268) at org.hotswap.agent.plugin.hibernate.HibernatePluginTest$2.process(HibernatePluginTest.java:56) at org.hotswap.agent.plugin.hibernate.HibernatePluginTest.doInTransaction(HibernatePluginTest.java:94) at org.hotswap.agent.plugin.hibernate.HibernatePluginTest.testSetupOk(HibernatePluginTest.java:48)

    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, 1 month ago
    2 times, 1 month ago
    8 times, 2 months ago
    14 times, 3 months ago
    Unknown user
    Once, 4 months ago
    27 more bugmates