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 Mikemosca
, 1 year ago
Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.RuntimeException>
via GitHub by Mikemosca
, 1 year ago
Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.RuntimeException>
via GitHub by Mikemosca
, 1 year ago
Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NullPointerException>
via GitHub by Mikemosca
, 1 year ago
Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NullPointerException>
via GitHub by mquinson
, 1 year ago
Unexpected exception, expected<plm.core.PLMCompilerException> but was<java.lang.NullPointerException>
via GitHub by petur
, 2 years ago
Unexpected exception, expected<java.lang.UnsupportedOperationException> but was<java.lang.AssertionError>
java.net.SocketTimeoutException: Read timed out	at java.net.SocketInputStream.read(SocketInputStream.java:164)	at java.net.SocketInputStream.read(SocketInputStream.java:134)	at okio.Okio$2.read(Okio.java:140)	at okio.AsyncTimeout$2.read(AsyncTimeout.java:238)	at okio.RealBufferedSource.indexOf(RealBufferedSource.java:325)	at okio.RealBufferedSource.indexOf(RealBufferedSource.java:314)	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210)	at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)	at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)	at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775)	at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86)	at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760)	at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613)	at okhttp3.RealCall.getResponse(RealCall.java:244)	at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)	at okhttp3.RealCall.execute(RealCall.java:57)	at com.ibm.watson.developer_cloud.service.WatsonService$1.execute(WatsonService.java:178)	at com.ibm.watson.developer_cloud.retrieve_and_rank.v1.RetrieveAndRankTest.testClusterResizeNg1(RetrieveAndRankTest.java:819)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)	at java.lang.reflect.Method.invoke(Method.java:620)	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.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)	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)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)