java.lang.IllegalArgumentException: Host name may not be null

htmlunit | asoreng | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    http:/ should be handled gracefully

    htmlunit | 10 years ago | asoreng
    java.lang.IllegalArgumentException: Host name may not be null
  2. 0

    [Webtest] java.lang.IllegalArgumentException: Host name may not be null

    canoo.com | 11 months ago
    java.lang.IllegalArgumentException: Host name may not be null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.IllegalArgumentException: host must not be null

    mulesoft.org | 2 years ago
    java.lang.IllegalArgumentException: host must not be null

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Host name may not be null

      at org.apache.commons.httpclient.HttpHost.<init>()
    2. HttpClient
      HostConfiguration.setHost
      1. org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:67)
      2. org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:241)
      3. org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:303)
      3 frames
    3. HtmlUnit
      BaseFrame.loadInnerPageIfPossible
      1. com.gargoylesoftware.htmlunit.HttpWebConnection.getHostConfiguration(HttpWebConnection.java:179)
      2. com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:124)
      3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1435)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1392)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:333)
      6. com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:141)
      6 frames