[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-1279.
-------------------------------------------

    Resolution: Fixed

Fixed in the SVN trunk and 4.2.x branch.

Oleg
                
> NullPointerException (apparently) when authenticating
> -----------------------------------------------------
>
>                 Key: HTTPCLIENT-1279
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1279
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.2
>            Reporter: Sebastiano Vigna
>             Fix For: 4.2.3
>
>
> Run the following class. This is likely to be a badly configured server, but 
> DefaultHttpClient should not in any case throw a NPE.
> import org.apache.http.client.ResponseHandler;
> import org.apache.http.client.HttpClient;
> import org.apache.http.client.methods.HttpGet;
> import org.apache.http.impl.client.BasicResponseHandler;
> import org.apache.http.impl.client.DefaultHttpClient;
> public class Bug {
>     public final static void main(String[] args) throws Exception {
>         HttpClient httpclient = new DefaultHttpClient();
>         HttpGet httpget = new 
> HttpGet("http://www.gruppotirrenia.it/robots.txt";);
>               httpclient.execute(httpget);
>       }
> }

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

Reply via email to