java.io.IOException: Server returned HTTP response code: 500 for URL: <a href="http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg" target="_blank" rel="nofollow">http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg</a>

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

,
Expert tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Coderanch by Jean-Marc Bottin, 1 year ago
Server returned HTTP response code: 500 for URL: <a href="http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg" target="_blank" rel="nofollow">http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg</a>
via Stack Overflow by saj1919
, 2 years ago
Server returned HTTP response code: 403 for URL: <a href="http://translate.google.com/translate_a/t?client=t&amp;text=Moon&amp;hl=en&amp;sl=en&amp;tl=hi&amp;ie=UTF-8&amp;oe=UTF-8&amp;multires=1&amp;otf=1&amp;ssel=3&amp;tsel=3&amp;sc=1" rel="nofollow
via Oracle Community by 843834, 5 months ago
Server returned HTTP response code :401 for URL: //localhost/localstart.asp
via Oracle Community by 807551, 1 year ago
Server returned HTTP response code: 401 for URL: http://129.0.0.008/diiop_ior.txt
via Stack Overflow by Majid L
, 2 years ago
Server returned HTTP response code: 403 for URL: http://www.earthtimes.org/newsimage/osteoderms-storing-minerals-helped-huge-dinosaurs-survive_3011.jpg
via Oracle Community by 843834, 1 year ago
Server returned HTTP response code: 407 for URL: http://www.google.com/
java.io.IOException: Server returned HTTP response code: 500 for URL: <a href="http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg" target="_blank" rel="nofollow">http://www.bium.univ-paris5.fr/images/livres/41677/0001.jpg</a>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245)
at java.net.URL.openStream(URL.java:1009)
at undefined.aTest.downloadFile(aTest.java:24)
at undefined.aTest.main(aTest.java:43)

Users with the same issue

Once, 11 months ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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