An: HttpClient User Discussion
Betreff: Re: java.lang.NullPointerException at
org.apache.http.entity.StringEntity.init(StringEntity.java:70
On Fri, 2012-05-25 at 14:52 +0200, michael.fankanow...@t-systems.com
wrote:
Hi all,
I receive a NullPointerException when I'm doing
Hi all,
I receive a NullPointerException when I'm doing this:
HttpPost method = new HttpPost(someUri);
ContentType ct = ContentType.create(text/xml);
StringEntity entity = new StringEntity(someString, ct);
method.setEntity(entity);
The javadoc says that parameter charset is optional for