[ 
http://issues.apache.org/jira/browse/HTTPCLIENT-585?page=comments#action_12415554
 ] 

Borut Bolčina commented on HTTPCLIENT-585:
------------------------------------------

By http://www.rfc-editor.org/rfc/rfc1738.txt the URL in question 
(http://triton*.mojblog.co.yu/rss.aspx) is valid URL.

Exception in thread "Timeout guard" java.lang.IllegalArgumentException: invalid 
host wildcard specification
        at java.net.SocketPermission.init(SocketPermission.java:384)
        at java.net.SocketPermission.<init>(SocketPermission.java:239)
        at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
        at java.net.InetAddress.getAllByName(InetAddress.java:1061)
        at java.net.InetAddress.getByName(InetAddress.java:958)
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:124)
        at java.net.Socket.<init>(Socket.java:238)
        at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
        at 
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:90)
        at 
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:157)
        at java.lang.Thread.run(Thread.java:595)

Is this then JDK issue?

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to