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 lolodomo
, 1 year ago
Expected: is <NULL> but: was <81.3>
via GitHub by maggu2810
, 2 years ago
Expected: is <1> but: was <2>
via GitHub by maggu2810
, 1 year ago
Expected: is <1> but: was <0>
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>
java.lang.AssertionError: 
Expected: is <1>
     but: was <3>	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$1.callStatic(Unknown Source)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest$_assertFirmwareStatusInfoEvent_closure42.doCall(FirmwareUpdateServiceOSGiTest.groovy:822)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest$_assertFirmwareStatusInfoEvent_closure42.doCall(FirmwareUpdateServiceOSGiTest.groovy)	at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	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 org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy)	at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	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:141)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest.assertFirmwareStatusInfoEvent(FirmwareUpdateServiceOSGiTest.groovy:821)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest.this$3$assertFirmwareStatusInfoEvent(FirmwareUpdateServiceOSGiTest.groovy)