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
, 1 year ago
Expected: is <OFFLINE (BRIDGE_OFFLINE)> but: was <ONLINE>
via GitHub by maggu2810
, 1 year ago
Expected: is <1> but: was <2>
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 not null but: was null
java.lang.AssertionError: Expected: is <3>
     but: was <2>	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.core.thing.firmware.FirmwareUpdateServiceOSGiTest$_setup_closure4.doCall(FirmwareUpdateServiceOSGiTest.groovy:242)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest$_setup_closure4.doCall(FirmwareUpdateServiceOSGiTest.groovy)	at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	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:292)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)	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.GeneratedMethodAccessor27.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	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.AbstractCallSite.callCurrent(AbstractCallSite.java:141)	at org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateServiceOSGiTest.setup(FirmwareUpdateServiceOSGiTest.groovy:237)