hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastiano Vigna (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1342) "java.lang.IllegalArgumentException: Host name may not be null" thrown during redirect
Date Mon, 15 Apr 2013 09:44:16 GMT
Sebastiano Vigna created HTTPCLIENT-1342:
--------------------------------------------

             Summary: "java.lang.IllegalArgumentException: Host name may not be null" thrown
during redirect
                 Key: HTTPCLIENT-1342
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1342
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3 Beta1
         Environment: 
Linux s2.law.di.unimi.it 2.6.32-279.22.1.el6.x86_64 #1 SMP Tue Feb 5 14:33:39 CST 2013 x86_64
x86_64 x86_64 GNU/Linux

java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
            Reporter: Sebastiano Vigna


Downloading the URL http://www.burkinaembassy-usa.org/ with redirects enabled causes the following
exception:

java.lang.IllegalArgumentException: Host name may not be null
        at org.apache.http.util.Args.notNull(Args.java:48) ~[httpcore-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.HttpHost.<init>(HttpHost.java:79) ~[httpcore-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:465)
~[httpclient-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:864)
~[httpclient-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
~[httpclient-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214)
~[httpclient-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160)
~[httpclient-4.3-beta1.jar:4.3-beta1]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:136)
~[httpclient-4.3-beta1.jar:4.3-beta1]

(On the same URL wget doesn't report any problem and downloads the page correctly.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message