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

Apache's JIRA Issue Tracker | Jesse Glick | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Host name may not be null

    at org.apache.maven.wagon.providers.http.httpclient.HttpHost.<init>()
  2. org.apache.maven
    AbstractHttpClientWagon.execute
    1. org.apache.maven.wagon.providers.http.httpclient.HttpHost.<init>(HttpHost.java:79)
    2. org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:501)
    3. org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    4. org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
    5. org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:746)
    5 frames