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 Michael Prescott, 1 year ago
Expected: a collection with size <0> but: collection size was <1>
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 GitHub by longtimeago
, 1 year ago
Expected: iterable containing [<[is "str0", is "str1", is "str2"]>] but: item 0: was "str0"
via openwritings.net by Unknown author, 2 years ago
Expected: a string containing "Not found" but: was "Assert string containing something."
java.lang.AssertionError: 
Expected: a collection with size <0>
     but: collection size was <1>	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)	at org.hamcrest.MatcherAssert$assertThat.callStatic(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157)