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 GitHub by davido
, 1 year ago
Expected: iterable containing ["ec40f9121202be3508b4f5ab7b0a511d3bdcf9d9"] but: item 0: was "17327e726739c711762c2e4f2edea0e3ad24d9f3.metadata"
via Stack Overflow by dev_android
, 11 months ago
Expected: an instance of com.kaushik.myredmart.adapter.ProductAdapter but: null
via GitHub by maggu2810
, 1 year ago
Expected: is null but: was <org.eclipse.smarthome.binding.hue.handler.HueBridgeHandler@7f188fd>
via Stack Overflow by JulioAragao
, 2 years ago
Expected: iterable containing [with toString() "c"] but: item 0: toString() was "a"
via Stack Overflow by user3923124
, 2 years ago
Expected: a collection containing null but:
via Stack Overflow by Jorge Z
, 2 years ago
Expected: iterable over [<{id=x}>] in any order but: Not matched: <{id=x}>
java.lang.AssertionError: Expected: iterable containing ["ec40f9121202be3508b4f5ab7b0a511d3bdcf9d9"]
     but: item 0: was "17327e726739c711762c2e4f2edea0e3ad24d9f3.metadata"	at org.hamcrest.MatcherAssert.assertThat(	at org.junit.Assert.assertThat(	at org.junit.Assert.assertThat(	at com.facebook.buck.artifact_cache.DirArtifactCacheTest.testCacheStoresAndFetchHits(	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(	at sun.reflect.DelegatingMethodAccessorImpl.invoke(	at java.lang.reflect.Method.invoke(	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(	at	at org.junit.runners.model.FrameworkMethod.invokeExplosively(	at org.junit.internal.runners.statements.InvokeMethod.evaluate(	at org.junit.internal.runners.statements.RunAfters.evaluate(	at org.junit.rules.ExternalResource$1.evaluate(	at org.junit.rules.RunRules.evaluate(	at com.facebook.buck.testrunner.SameThreadFailOnTimeout.lambda$new$0(	at	at java.util.concurrent.ThreadPoolExecutor.runWorker(	at java.util.concurrent.ThreadPoolExecutor$	at