com.tc.util.TCAssertionError: Expected <2> but got <4>

Terracotta Project Issue Tracker | Tim Eck | 1 decade 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Terracotta Project Issue Tracker

    terracotta.org | 11 months ago
    com.tc.util.TCAssertionError: Expected <1> but got <0>

    Root Cause Analysis

    1. com.tc.util.TCAssertionError

      Expected <2> but got <4>

      at com.tc.util.Assert.assertEquals()
    2. com.tc.util
      Assert.assertEquals
      1. com.tc.util.Assert.assertEquals(Assert.java:137)
      1 frame
    3. com.tctest
      GenericListTestApp.testRemoveRange
      1. com.tctest.GenericListTestApp.assertListsEqual(GenericListTestApp.java:1207)
      2. com.tctest.GenericListTestApp.testRemoveRange(GenericListTestApp.java:523)
      2 frames