Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Marvin Herman Froeder, 1 year ago
Expected: a collection with size <5> but: collection size was <3>
via Stack Overflow by denlab
, 2 months ago
Expected: (a collection containing <SIXRxrImUE> and a collection containing <RQjVbVRlyG> and a collection containing <avnKxogdyN>) but: a collection containing <SIXRxrImUE> was <SIXRxrImUE>, was <RQjVbVRlyG>, was <avnKxogdyN>
via yahoo.com by Unknown author, 2 years ago
Expected: a CDR record with call ID: 12345678900 but: the call ID was "1234567890"
via GitHub by neelav
, 1 month ago
Expected: is <{a=[Optional[5.0], Optional.empty, Optional[6.0]]}> but: was <{a=[Optional[5.0], null, Optional[6.0]]}>
via openwritings.net by Unknown author, 2 years ago
Expected: a string containing "Not found" but: was "Assert string containing something."
via GitHub by pinaf
, 1 year ago
Expected: <[lists-exists, sub/file]> but: was <[sub/file, lists-exists]>
java.lang.AssertionError: 
Expected: a collection with size <5>
     but: collection size was <3>	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)	at org.sonatype.nexus.integrationtests.nexus4674.Nexus4674UpdateGAVIndexIT.searchTest(Nexus4674UpdateGAVIndexIT.java:50)