junit.framework.AssertionFailedError: expected:<2883> but was:<2883>

Coderanch | David W Brown | 8 years ago
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. 0

    JUnit assertEquals: expected:<2883> but was:<2883> <<FAILURE! (Java in General forum at Coderanch)

    coderanch.com | 12 months ago
    junit.framework.AssertionFailedError: expected:<2883> but was:<2883>
  2. 0

    JUnit assertEquals: expected:&lt;2883&gt; but was:&lt;2883&gt; &lt;&lt;FAILURE!

    Coderanch | 8 years ago | David W Brown
    junit.framework.AssertionFailedError: expected:<2883> but was:<2883>
  3. 0

    How i can recover a Map of objects from json?

    Stack Overflow | 4 years ago | raisercostin
    junit.framework.AssertionFailedError: expected:&lt;eu.ec.dgempl.eessi.facade.transport.test.TestToolTest$SomeClass@6e3ed98c&gt; but was:&lt;{field=a}&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to remove '0A' from string?

    Stack Overflow | 4 years ago | Bhushan
    junit.framework.AssertionFailedError: expected:&lt;String1&gt; but was:&lt;String1&gt;
  6. 0

    [jira] [Reopened] (KAFKA-1377) transient unit test failure in LogOffsetTest

    kafka-dev | 1 year ago | Pierre-Yves Ritschard (JIRA)
    junit.framework.AssertionFailedError: expected:<List(0)> but was:<Vector()>

  1. odd 3 times, last 1 month ago
  2. tzrlk 2 times, last 9 months ago
8 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. junit.framework.AssertionFailedError

    expected:<2883> but was:<2883>

    at junit.framework.Assert.fail()
  2. JUnit
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:277)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:71)
    4 frames