[
https://issues.apache.org/jira/browse/HTTPCLIENT-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1196.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.2.1
This is a regression in HttpCore. Please upgrade to the latest SVN snapshot of
HttpCore and re-test your application.
Oleg
> 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
> Fix For: 4.2.1
>
>
> The two constructors of UrlEncodedFormEntity without charset parameters throw
> a NPE.
> This is a regression from 4.1.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: [email protected]
For additional commands, e-mail: [email protected]