java.lang.AssertionError: Expected: is <DISABLED> but: was <IDLE>

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 Stack Overflow by billc.cn
, 2 years ago
Expected: (is null or not null) but: was null
via GitHub by Scottmitch
, 2 years ago
Expected: is <true> but: was <false>
via GitHub by Scottmitch
, 1 year ago
Expected: is <true> but: was <false>
java.lang.AssertionError: Expected: is <DISABLED> but: was <IDLE>
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.eclipse.smarthome.automation.module.timer.internal.RuntimeRuleTest$_assert_that_timerTrigger_works_closure9.doCall(RuntimeRuleTest.groovy:145)
at org.eclipse.smarthome.automation.module.timer.internal.RuntimeRuleTest$_assert_that_timerTrigger_works_closure9.doCall(RuntimeRuleTest.groovy)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:181)
at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy)
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:498)
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)

Users with the same issue

3 times, 2 weeks ago
2 times, 6 months ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 month ago
19 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.