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 maggu2810
, 2 years ago
Expected: is not null but: was null
via GitHub by sjka
, 1 year ago
Expected: is not null but: was null
via GitHub by sjka
, 2 years ago
Expected: is "1.1.2" but: was "1.1.1"
via GitHub by sjka
, 1 year ago
Expected: is <ON> but: was <OFF>
via GitHub by maggu2810
, 2 years ago
Expected: is <OFF> but: was <ON>
via GitHub by maggu2810
, 1 year ago
Expected: is "ItemSampleRule" but: was "ItemSampleRuleWithReferences"
java.lang.AssertionError: 
Expected: is not null
     but: was null	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)	at org.junit.Assert.assertThat(Assert.java:865)	at org.junit.Assert.assertThat(Assert.java:832)	at org.junit.Assert$assertThat.callStatic(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169)