java.lang.IllegalArgumentException: host parameter is null

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by idl-tester, 2 years ago
via Coderanch by Michael Zhou, 11 months ago
via hc-httpclient-users by AbelMacAdam, 4 months ago
java.lang.IllegalArgumentException: host parameter is null
at org.apache.commons.httpclient.HttpConnection.(HttpConnection.java:206)
at org.apache.commons.httpclient.HttpConnection.(HttpConnection.java:155)
at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:175)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.gftp.FlickrDownload.IOUtils.getRemoteFilename(IOUtils.java:99)
at org.gftp.FlickrDownload.IOUtils.getVideoExtension(IOUtils.java:111)
at org.gftp.FlickrDownload.AbstractSet.processPhoto(AbstractSet.java:136)
at org.gftp.FlickrDownload.Set.download(Set.java:49)
at org.gftp.FlickrDownload.AbstractSet.createSetlevelXml(AbstractSet.java:239)
at org.gftp.FlickrDownload.Sets.downloadAllPhotos(Sets.java:109)
at org.gftp.FlickrDownload.FlickrDownload.main(FlickrDownload.java:229)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

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