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

Apereo Issues | Andrew Petro | 3 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. davidvanlaatum 1 times, last 1 week ago
  2. andyglick 9 times, last 8 months ago
  3. WoodenDoors 3 times, last 8 months ago
  4. davidvanlaatum 103 times, last 9 months ago
32 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:<1> but was:<2>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    5. org.junit.Assert.assertEquals(Assert.java:542)
    5 frames
  3. org.jasig.portal
    JpaClusterLockDaoTest.testConcurrentCreateLocking
    1. org.jasig.portal.concurrency.locking.JpaClusterLockDaoTest.testConcurrentCreateLocking(JpaClusterLockDaoTest.java:195)
    1 frame