One of such open source projects is Apache HttpClient.
At present all available platform versions, including 2.0 have HttpClient 4.x.
Practically, today I've found NPE in function
HttpClient.execute(HttpUriRequest request)
for simple GET request.I've got for
GET http://uhanov.blogspot.com/search/label/Android HTTP/1.1
the next trace:
E/ProxyConnection( 2025): Unpredictable java.lang.NullPointerException
E/ProxyConnection( 2025): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
E/ProxyConnection( 2025): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
E/ProxyConnection( 2025): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
E/ProxyConnection( 2025): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
E/ProxyConnection( 2025): at com.muhanov.test.ProxyConnection.sendClientRequest(ProxyConnection.java:250)
E/ProxyConnection( 2025): at com.muhanov.test.ProxyConnection.run(ProxyConnection.java:67)
No comments:
Post a Comment