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 Hibernate JIRA by Sanne Grinovero, 1 year ago
via GitHub by Bertk
, 7 months ago
expected:<1> but was:<null>
via Google Groups by Vara Prasad, 2 years ago
via GitHub by da2ce7
, 8 months ago
expected:<'Hello World[]'> but was:<'Hello World[ ]'>
via Hibernate JIRA by Hardy Ferentschik, 2 years ago
[catalogItems should have been initialized] expected:<[tru]e> but was:<[fals]e>
via GitHub by michalkarolik
, 1 year ago
expected:<"[Passed]"> but was:<"[]">
org.junit.ComparisonFailure: expected:<'Connection refused[]'> but was:<'Connection refused\[: connect]'>	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at org.fest.assertions.ConstructorInvoker.newInstance(ConstructorInvoker.java:36)	at org.fest.assertions.ComparisonFailureFactory.newComparisonFailure(ComparisonFailureFactory.java:60)	at org.fest.assertions.ComparisonFailureFactory.comparisonFailure(ComparisonFailureFactory.java:46)	at org.fest.assertions.Fail.comparisonFailed(Fail.java:83)	at org.fest.assertions.Fail.failIfNotEqual(Fail.java:71)	at org.fest.assertions.ThrowableAssert.hasMessage(ThrowableAssert.java:85)	at org.hibernate.search.elasticsearch.test.HostCanBeConfiguredIT.shouldApplyConfiguredElasticsearchHost(HostCanBeConfiguredIT.java:48)