java.lang.AssertionError: Not true that <0> is equal to <-1>

GitHub | meteorcloudy | 3 months ago
  1. 0

    Membership detection not working

    GitHub | 2 years ago | Lineflyer
    java.lang.AssertionError: Expecting: <false> to be equal to: <true> but was not.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Search results returns mystery caches as ??

    GitHub | 2 years ago | Lineflyer
    java.lang.AssertionError: Expecting: <true> to be equal to: <false> but was not.
  4. 0

    Find count for gc.com not working

    GitHub | 2 years ago | Bugsy1905
    java.lang.AssertionError: Expecting: <false> to be equal to: <true> but was not.

  1. tvrmsmith 10 times, last 5 months ago
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

    Not true that <0> is equal to <-1>

    at com.google.common.truth.FailureStrategy.fail()
  2. com.google.common
    Subject.isEqualTo
    1. com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:24)
    2. com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:20)
    3. com.google.common.truth.Subject.failComparingToStrings(Subject.java:295)
    4. com.google.common.truth.Subject.doEqualCheck(Subject.java:116)
    5. com.google.common.truth.Subject.isEqualTo(Subject.java:93)
    5 frames
  3. com.google.devtools
    WindowsProcessesTest.testErrorWhenReadingFromRedirectedStreams
    1. com.google.devtools.build.lib.windows.WindowsProcessesTest.testErrorWhenReadingFromRedirectedStreams(WindowsProcessesTest.java:338)
    1 frame
  4. 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:498)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    16. org.junit.runners.Suite.runChild(Suite.java:127)
    17. org.junit.runners.Suite.runChild(Suite.java:26)
    18. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    19. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    20. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    21. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    22. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    23. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    23 frames
  6. com.google.testing
    CancellableRequestFactory$CancellableRunner.run
    1. com.google.testing.junit.runner.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:90)
    1 frame
  7. JUnit
    JUnitCore.run
    1. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
    2 frames
  8. com.google.testing
    BazelTestRunner.main
    1. com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
    2. com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:140)
    3. com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:79)
    3 frames