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

Solutions on the web

via GitHub by vpablos
, 1 year ago
Expected: <null> but was: descr
via GitHub by alunev
, 1 year ago
Expected: <null> but was: com.impetus.client.entities.AddressMTMRedis@272113c4 Expected :<null> Actual :com.impetus.client.entities.AddressMTMRedis@272113c4 <Click to see difference>
via JIRA by Maxime Gréau, 1 year ago
Expected: <null> but was: file:/srv/ciagent/workspace/target/test-classes/repo/MyClass.groovy
via Stack Overflow by aur&#233;lien lemaitre
, 2 years ago
Expected: <null> but was: com.test.MyTest$C@5c228bbd
via JIRA by Alex Buijs, 2 years ago
Expected: <null> but was: file:///android_asset/www/index.html
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)