java.lang.AssertionError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5981

  • Not true that <0> is equal to <-1>
  • Not true that <0> is equal to <-1>
  • via GitHub by wafisher
    , 5 months ago
    Not true that <[1483732224, 1483733032, 1483733309, 1483733459, 1483733969]> is equal to <[1483732224, 1483733032, 1483733309, 1483733459, 1483733969]> (although their toString() representations are the same)
  • Stack trace

    • java.lang.AssertionError: Not true that <0> is equal to <-1> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:24) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:20) at com.google.common.truth.Subject.failComparingToStrings(Subject.java:295) at com.google.common.truth.Subject.doEqualCheck(Subject.java:116) at com.google.common.truth.Subject.isEqualTo(Subject.java:93) at com.google.devtools.build.lib.windows.WindowsProcessesTest.testReadingAndWritingAfterTermination(WindowsProcessesTest.java:242) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at com.google.testing.junit.runner.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:114) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:152) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:91)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    10 times, 1 year ago