java.lang.IllegalArgumentException: Host name may not be 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

Solutions on the web

via htmlunit by asoreng
, 1 year ago
Host name may not be null
via canoo.com by Unknown author, 1 year ago
via Google Groups by Millisecond, 2 years ago
Host name may not be null
via Sonatype JIRA by Vincent Latombe, 1 year ago
Host name may not be null
java.lang.IllegalArgumentException: Host name may not be null
at org.apache.commons.httpclient.HttpHost.(HttpHost.java:67)
at org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:241)
at com.gargoylesoftware.htmlunit.HttpWebConnection.getHostConfiguration(HttpWebConnection.java:179)
at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:124)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1435)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1392)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:333)

Users with the same issue

You are the first who have seen this exception.

Write tip

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