java.io.IOException

Server returned HTTP response code: 400 for URL: http://dummyURL.com


Solutions on the web11068

Solution icon of stackoverflow
Server returned HTTP response code: 400 for URL: http://dummyURL.com

Solution icon of stackoverflow
Server returned HTTP response code: 400 for URL: http://www.google.com

Solution icon of googlegroups
via Google Groups by Johann Petrak, 1 year ago
Server returned HTTP response code: 400 for URL: <URL>

Solution icon of stackoverflow
Server returned HTTP response code: 400 for URL: url

Solution icon of stackoverflow
via Stack Overflow by Melac
, 6 months ago
Server returned HTTP response code: 400 for URL: "UNIVERSITY URL"

Solution icon of stackoverflow
via Stack Overflow by user837306
, 1 year ago
Server returned HTTP response code: 400 for URL:

Solution icon of web
Server returned HTTP response code: 400 for URL:

Solution icon of web
via datastax.com by Unknown author, 1 year ago
Server returned HTTP response code: 400 for URL:

Solution icon of web
Server returned HTTP response code: 400 for URL:

Stack trace

  • java.io.IOException: Server returned HTTP response code: 400 for URL: http://dummyURL.com at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at tcd.edu.repositoryextractor.PullObject.fetchJSONString(PullObject.java:23) at tcd.edu.repositoryextractor.PullObjectTest.testPullObjectWithValidString(PullObjectTest.java:64) 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:498) at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) 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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 3 weeks ago
10 times, 2 months ago
Samebug visitor profile picture
Unknown user
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
2 times, 1 year ago
99 more bugmates