hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clément Denis (JIRA) <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1196) NPE in UrlEncodedFormEntity constructors without charsets
Date Sun, 27 May 2012 16:55:23 GMT
Clément Denis created HTTPCLIENT-1196:
-----------------------------------------

             Summary: NPE in UrlEncodedFormEntity constructors without charsets
                 Key: HTTPCLIENT-1196
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1196
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2 Final
            Reporter: Clément Denis
            Priority: Critical


The two constructors of UrlEncodedFormEntity without charset parameters throw a NPE.
This is a regression from 4.2.X.

Here is a test simple case :
{code}
List<BasicNameValuePair> params = new ArrayList<BasicNameValuePair>();
params.add(new BasicNameValuePair("test", "test"));
new UrlEncodedFormEntity(params);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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