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


Solutions on the web851

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: url

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

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

Solution icon of github
Server returned HTTP response code: 400 for URL: http://servermods.cursecdn.com/files/2363/153/PixelPrinter v1.0.12.jar

Solution icon of github
Server returned HTTP response code: 400 for URL: http://openstreetview.com/1.0/sequence/finished-uploading/

Solution icon of stackoverflow
Server returned HTTP response code: 400 for URL: http://ubuntu:13562/tasklog?taskid=attempt_1464556774961_0005_m_000000_3&start=-8193

Solution icon of stackoverflow
Server returned HTTP response code: 400 for URL: http://api.justrechargeit.com/JRICorporateLogin.svc/CorporateLoginAPI

Solution icon of github
via GitHub by ZombieStriker
, 9 months ago
Server returned HTTP response code: 400 for URL: http://servermods.cursecdn.com/files/2363/153/PixelPrinter v1.0.12.jar

Solution icon of github
via GitHub by DenisCarriere
, 1 year ago
Server returned HTTP response code: 400 for URL: http://openstreetview.com/1.0/sequence/finished-uploading/

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, 2 months ago
10 times, 3 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
99 more bugmates