junit.framework.AssertionFailedError: expected:<5> but was:<0>

MuleSoft JIRA | Daniel Zapata | 7 years 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. 0

    [Kafka-dev] [jira] [Updated] (KAFKA-334) Some tests fail when building on a Windows box - Grokbase

    grokbase.com | 1 year ago
    junit.framework.AssertionFailedError: expected:<5> but was:<0>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Can't build Apktool-master

    GitHub | 2 years ago | IaguCool
    junit.framework.AssertionFailedError: expected:<12> but was:<1>
  4. 0

    :brut.apktool.smali:dexlib2:test FAILED when compiling repo

    GitHub | 2 years ago | raziel23x
    junit.framework.AssertionFailedError: expected:<12> but was:<1>

  1. odd 3 times, last 4 weeks 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:<5> but was:<0>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    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:195)
    5. junit.framework.Assert.assertEquals(Assert.java:201)
    5 frames
  3. com.mulesource.qatests
    JmsRetrySanityAsynchronousTestCase.testNormalOperation
    1. com.mulesource.qatests.retry.jms.JmsRetrySanityAsynchronousTestCase.testNormalOperation(JmsRetrySanityAsynchronousTestCase.java:32)
    1 frame