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

Samebug tips

  1. ,
    Expert tip

    This exception could rise due to a connection timeout.

Solutions on the web

via JIRA by Manjit Trehan, 1 year ago
expected:<200> but was:<500>
via gmane.org by Unknown author, 2 years ago
via Google Groups by arash, 2 years ago
via JIRA by Manjit Trehan, 1 year ago
expected:<200> but was:<500>
via Stack Overflow by Alejandro
, 2 years ago
via continuum-dev by Roald Bankras, 6 months ago
expected:<1> but was:<2>
junit.framework.AssertionFailedError: expected:<200> but was:<500>	at junit.framework.Assert.fail(Assert.java:47)	at junit.framework.Assert.failNotEquals(Assert.java:277)	at junit.framework.Assert.assertEquals(Assert.java:64)	at junit.framework.Assert.assertEquals(Assert.java:195)	at junit.framework.Assert.assertEquals(Assert.java:201)	at org.opencastproject.remotetest.ComposerRestEndpointTest.testImageExtraction(ComposerRestEndpointTest.java:106)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)	at org.junit.runners.Suite.runChild(Suite.java:115)	at org.junit.runners.Suite.runChild(Suite.java:23)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)	at org.junit.runners.Suite.runChild(Suite.java:115)	at org.junit.runners.Suite.runChild(Suite.java:23)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)	at org.junit.runner.JUnitCore.run(JUnitCore.java:116)	at org.junit.runner.JUnitCore.run(JUnitCore.java:107)	at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:66)	at org.opencastproject.remotetest.AllRemoteTests.main(AllRemoteTests.java:45)