hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-585) invalid host wildcard specification (asterix in URL)
Date Fri, 09 Jun 2006 15:30:30 GMT
    [ http://issues.apache.org/jira/browse/HTTPCLIENT-585?page=comments#action_12415555 ] 

Oleg Kalnichevski commented on HTTPCLIENT-585:
----------------------------------------------

It does appear so. What OS and JRE is your application running on?

Oleg

> invalid host wildcard specification (asterix in URL)
> ----------------------------------------------------
>
>          Key: HTTPCLIENT-585
>          URL: http://issues.apache.org/jira/browse/HTTPCLIENT-585
>      Project: Jakarta HttpClient
>         Type: Bug

>   Components: HttpClient
>     Versions: 3.0 Final
>  Environment: jdk1.5.0_06
>     Reporter: Borut BolĨina

>
> If URL contains asterix (*) a NullPointerException is thrown
> * Nested Exception (Underlying Cause) ---------------
> java.lang.NullPointerException
>         at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:720)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1
> 321)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
> when 
> httpMethod = new GetMethod(url);               
> logger.info("GetMethod("+url+")");
> int returnCode = client.executeMethod(httpMethod);   <== this throws an exception
> INFO [09 Jun 2006 10:39] GetMethod(http://triton*.mojblog.co.yu/rss.aspx)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message