java.lang.IllegalArgumentException

Host name may not be null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13

  • via htmlunit by asoreng
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Host name may not be null at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:67) at org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:241) at org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:303) 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) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:141)

    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

    Unknown visitor
    Unknown visitorOnce,