org.junit.ComparisonFailure: expected:<...st.a.local.url.local[]> but was:<...st.a.local.url.local[: unknown error]>

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 digitaldan
, 3 months ago
expected:<...st.a.local.url.local[]> but was:<...st.a.local.url.local[: unknown error]>
via GitHub by wildfly-ci
, 1 year ago
expected:<re[start]-required> but was:<re[load]-required>
via GitHub by wildfly-ci
, 1 year ago
expected:<[1]> but was:<[0]>
via GitHub by wildfly-ci
, 1 year ago
expected:<[1]> but was:<[0]>
org.junit.ComparisonFailure: expected:<...st.a.local.url.local[]> but was:<...st.a.local.url.local[: unknown error]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.openhab.habdroid.util.MySyncHttpClientTest.testMethodErrorResponse(MySyncHttpClientTest.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)

Users with the same issue

Once, 2 weeks ago
82 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
38 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.