java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3>

GitHub | hasancelik | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 8634#244013781

    GitHub | 7 months ago | hasancelik
    java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3>
  2. 0

    PartitioningStrategyFactoryTest.whenStrategyForMapAlreadyDefined_getPartitioningStrategy_returnsSameInstance

    GitHub | 8 months ago | hasancelik
    java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@5a927881> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@11bf4347>
  3. 0

    GitHub comment 8634#244682403

    GitHub | 7 months ago | hasancelik
    java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@54bccadc> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@35fdd8f2>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    replace() method for linked lists

    Stack Overflow | 2 years ago
    java.lang.AssertionError: replace returned different LString expected same:<Yet another even longer string.> was not:<Yet another even longer string.xyzzy>
  6. 0

    GitHub comment 96#35550028

    GitHub | 3 years ago | tjuerge
    java.lang.AssertionError: expected same:<org.sculptor.generator.cartridge.test.TestTemplateExtension@222864cd> was not:<org.sculptor.generator.chain.TestTemplate@9f1e040>

  1. rsprangemeijer 3 times, last 1 week 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

    expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertSame
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotSame(Assert.java:828)
    3. org.junit.Assert.assertSame(Assert.java:771)
    4. org.junit.Assert.assertSame(Assert.java:782)
    4 frames
  3. com.hazelcast.map
    PartitioningStrategyFactoryTest.whenStrategyForMapAlreadyDefined_getPartitioningStrategy_returnsSameInstance
    1. com.hazelcast.map.impl.PartitioningStrategyFactoryTest.whenStrategyForMapAlreadyDefined_getPartitioningStrategy_returnsSameInstance(PartitioningStrategyFactoryTest.java:93)
    1 frame