java.lang.IllegalArgumentException: Host name may not contain blanks

Apache's JIRA Issue Tracker | Sebastiano Vigna | 3 years ago
  1. 0

    The bug we reported some time ago about null hosts in redirects seems to have regressed, albeit the old problem was with "null" and the new problem is with "blank": 2014-04-20 04:20:09,169 19319369 ERROR [FetchingThread-197] i.u.d.l.b.f.FetchingThread - Unexpected exception java.lang.IllegalArgumentException: Host name may not be blank at org.apache.http.util.Args.notBlank(Args.java:68) ~[httpcore.jar:4.3.2] at org.apache.http.HttpHost.<init>(HttpHost.java:81) ~[httpcore.jar:4.3.2] at org.apache.http.client.utils.URIUtils.extractHost(URIUtils.java:370) ~[httpclient.jar:4.3.3] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:132) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:185) ~[httpclient.jar:4.3.3] at it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:322) ~[bubing-0.9.3.jar:na] This is caused by this site: > wget --max-redirect=0 http://www.thegamersedge.co.uk/robots.txt --2014-04-20 20:47:43-- http://www.thegamersedge.co.uk/robots.txt Resolving www.thegamersedge.co.uk (www.thegamersedge.co.uk)... 72.1.201.156, 72.1.201.152 Connecting to www.thegamersedge.co.uk (www.thegamersedge.co.uk)|72.1.201.156|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://robots.txt [following] 0 redirections exceeded.

    Apache's JIRA Issue Tracker | 3 years ago | Sebastiano Vigna
    java.lang.IllegalArgumentException: Host name may not contain blanks
  2. 0

    The bug we reported some time ago about null hosts in redirects seems to have regressed, albeit the old problem was with "null" and the new problem is with "blank": 2014-04-20 04:20:09,169 19319369 ERROR [FetchingThread-197] i.u.d.l.b.f.FetchingThread - Unexpected exception java.lang.IllegalArgumentException: Host name may not be blank at org.apache.http.util.Args.notBlank(Args.java:68) ~[httpcore.jar:4.3.2] at org.apache.http.HttpHost.<init>(HttpHost.java:81) ~[httpcore.jar:4.3.2] at org.apache.http.client.utils.URIUtils.extractHost(URIUtils.java:370) ~[httpclient.jar:4.3.3] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:132) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214) ~[httpclient.jar:4.3.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:185) ~[httpclient.jar:4.3.3] at it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:322) ~[bubing-0.9.3.jar:na] This is caused by this site: > wget --max-redirect=0 http://www.thegamersedge.co.uk/robots.txt --2014-04-20 20:47:43-- http://www.thegamersedge.co.uk/robots.txt Resolving www.thegamersedge.co.uk (www.thegamersedge.co.uk)... 72.1.201.156, 72.1.201.152 Connecting to www.thegamersedge.co.uk (www.thegamersedge.co.uk)|72.1.201.156|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://robots.txt [following] 0 redirections exceeded.

    Apache's JIRA Issue Tracker | 3 years ago | Sebastiano Vigna
    java.lang.IllegalArgumentException: Host name may not contain blanks
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash report 2.7.3 - IllegalArgumentException in SetupBlog

    GitHub | 3 years ago | maxme
    java.lang.RuntimeException: An error occured while executing doInBackground()
  5. 0

    Crash report 3.6: null host passed to `getXmlrpcByUserEnteredPath`

    GitHub | 2 years ago | maxme
    java.lang.IllegalArgumentException: Host name may not be null

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Host name may not contain blanks

      at org.apache.http.util.Args.containsNoBlanks()
    2. Apache Http
      HttpHost.<init>
      1. org.apache.http.util.Args.containsNoBlanks(Args.java:84)[httpcore.jar:4.4-alpha1]
      2. org.apache.http.HttpHost.<init>(HttpHost.java:80)[httpcore.jar:4.4-alpha1]
      2 frames
    3. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.client.utils.URIUtils.extractHost(URIUtils.java:370)[httpclient.jar:4.4-alpha1]
      2. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:133)[httpclient.jar:4.4-alpha1]
      3. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient.jar:4.4-alpha1]
      4. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:73)[httpclient.jar:4.4-alpha1]
      5. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)[httpclient.jar:4.4-alpha1]
      6. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:192)[httpclient.jar:4.4-alpha1]
      6 frames
    4. it.unimi.di
      FetchingThread.run
      1. it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:322)[bubing-0.9.5.jar:na]
      2. it.unimi.di.law.bubing.frontier.FetchingThread.run(FetchingThread.java:267)[bubing-0.9.5.jar:na]
      2 frames