java.lang.AssertionError: expected:<2> but was:<0>

GitHub | hasancelik | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 9017#260272049

    GitHub | 5 months ago | hasancelik
    java.lang.AssertionError: expected:<2> but was:<0>
  2. 0

    GitHub comment 9017#271259480

    GitHub | 4 months ago | hasancelik
    java.lang.AssertionError: expected:<2> but was:<0>
  3. 0

    GitHub comment 9017#257797232

    GitHub | 6 months ago | hasancelik
    java.lang.AssertionError: expected:<2> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 9017#263248007

    GitHub | 5 months ago | hasancelik
    java.lang.AssertionError: expected:<2> but was:<0>
  6. 0

    CardinalityEstimatorAdvancedTest.testCardinalityEstimatorFailure_whenSwitchedToDense

    GitHub | 6 months ago | hasancelik
    java.lang.AssertionError: expected:<10059> but was:<0>

  1. Victor_IT 1 times, last 4 days ago
  2. jf-ast 2 times, last 6 days ago
  3. odd 3 times, last 1 week ago
  4. Dunmer 74 times, last 2 weeks ago
  5. Brian Oxley 47 times, last 3 weeks ago
13 more registered users
33 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:<2> but was:<0>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:834)
    3. org.junit.Assert.assertEquals(Assert.java:645)
    4. org.junit.Assert.assertEquals(Assert.java:631)
    4 frames
  3. com.hazelcast.cardinality
    CardinalityEstimatorAdvancedTest.testCardinalityEstimatorFailure
    1. com.hazelcast.cardinality.CardinalityEstimatorAdvancedTest.testCardinalityEstimatorFailure(CardinalityEstimatorAdvancedTest.java:35)
    1 frame