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 <false> but: was <true>
via eclipse.org by Unknown author, 1 year ago
via GitHub by maggu2810
, 1 year ago
Expected: is <OFFLINE (BRIDGE_OFFLINE)> but: was <ONLINE>
via GitHub by pogo61
, 2 years ago
Expected: a string containing "\"identifier\":" but: was "<Patient xmlns="http://hl7.org/fhir"><identifier><use value="official"/><system value="urn:hapitest:mrns"/><value value="00001"/></identifier><name><family value="Test"/><given value="PatientOne"/></name><gender><text value="M"/></gender></Patient>"
via GitHub by sjka
, 1 year ago
Expected: is not null but: was null
via GitHub by maggu2810
, 2 years ago
Expected: is <OFF> but: was <ON>
java.lang.AssertionError: 
Expected: is <false>
     but: was <true>	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.eclipse.smarthome.automation.module.script.ScriptRuleTest$_testPredefinedRule_closure8.doCall(ScriptRuleTest.groovy:97)	at org.eclipse.smarthome.automation.module.script.ScriptRuleTest$_testPredefinedRule_closure8.doCall(ScriptRuleTest.groovy)	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:278)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)	at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:181)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)	at org.eclipse.smarthome.automation.module.script.ScriptRuleTest.testPredefinedRule(ScriptRuleTest.groovy:96)