java.lang.AssertionError: expected: java.util.Arrays$ArrayList<[0]> but was: java.util.ArrayList<[0]>

Hibernate JIRA | Martin Šimka | 4 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    TcpClientTests.tcpClientHandlesLineFeedData fails intermittently

    GitHub | 4 years ago | wilkinsona
    java.lang.AssertionError: expected:<[Hello World!, Hello World!, Hello World!]> but was:<[Hello World!, Hello World!, , Hello World!]>

  1. odd 1 times, last 1 day ago
  2. jf-ast 2 times, last 3 days ago
  3. rsprangemeijer 1 times, last 3 weeks ago
  4. aldrinleal 1 times, last 3 weeks ago
  5. treefolk 3 times, last 1 month ago
8 more registered users
33 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: java.util.Arrays$ArrayList<[0]> but was: java.util.ArrayList<[0]>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:93)
    2. org.junit.Assert.failNotEquals(Assert.java:647)
    3. org.junit.Assert.assertEquals(Assert.java:128)
    4. org.junit.Assert.assertEquals(Assert.java:147)
    4 frames
  3. org.hibernate.envers
    EnumSet.testEnumRepresentation
    1. org.hibernate.envers.test.integration.collection.EnumSet.testEnumRepresentation(EnumSet.java:123)
    1 frame
  4. Java RT
    NativeMethodAccessorImpl.invoke0
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    1 frame