java.lang.AssertionError: Expected: is <false> but: was <true>

eclipse.org | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Eclipse Community Forums: Eclipse SmartHome ยป Build Failure

    eclipse.org | 9 months ago
    java.lang.AssertionError: Expected: is <false> but: was <true>
  2. 0

    GitHub comment 1327#207370013

    GitHub | 1 year ago | maggu2810
    java.lang.AssertionError: Expected: is <false> but: was <true>
  3. 0

    "Core Tests" test failed

    GitHub | 1 year ago | maggu2810
    java.lang.AssertionError: Expected: is <OFF> but: was <ON>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 740#164681113

    GitHub | 1 year ago | maggu2810
    java.lang.AssertionError: Expected: is <ON> but: was <NULL>
  6. 0

    GitHub comment 718#164434310

    GitHub | 1 year ago | maggu2810
    java.lang.AssertionError: Expected: is <OFF> but: was <ON>

  1. olle.hallin 2 times, last 4 hours ago
  2. marcbouvierdav 1 times, last 2 weeks ago
  3. rsprangemeijer 1 times, last 2 weeks ago
  4. Dunmer 4 times, last 2 weeks ago
  5. aldrinleal 2 times, last 2 months ago
8 more registered users
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Expected: is <false> but: was <true>

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    1 frame
  3. JUnit
    Assert$assertThat.callStatic
    1. org.junit.Assert.assertThat(Assert.java:865)
    2. org.junit.Assert.assertThat(Assert.java:832)
    3. org.junit.Assert$assertThat.callStatic(Unknown Source)
    3 frames
  4. org.eclipse.smarthome
    ScriptRuleTest$_testPredefinedRule_closure8.doCall
    1. org.eclipse.smarthome.automation.module.script.ScriptRuleTest$_testPredefinedRule_closure8.doCall(ScriptRuleTest.groovy:97)
    2. org.eclipse.smarthome.automation.module.script.ScriptRuleTest$_testPredefinedRule_closure8.doCall(ScriptRuleTest.groovy)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:483)
    3 frames
  6. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:278)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    8 frames
  7. org.eclipse.smarthome
    OSGiTest.waitForAssert
    1. org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:181)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  9. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
    2. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
    3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
    5 frames
  10. org.eclipse.smarthome
    ScriptRuleTest.testPredefinedRule
    1. org.eclipse.smarthome.automation.module.script.ScriptRuleTest.testPredefinedRule(ScriptRuleTest.groovy:96)
    1 frame