novoda/HttpService — Issue #6: Error on a 204 response: i.e. Empty Response
Author: akshaydashrath
Created: 2011-10-13 14:12:32+00:00
State: open

10-13 15:10:55.124: E/httpservice(24745): Exception consuming content
10-13 15:10:55.124: E/httpservice(24745): java.lang.IllegalArgumentException: HTTP entity may not be null
10-13 15:10:55.124: E/httpservice(24745):	at org.apache.http.util.EntityUtils.toString(EntityUtils.java:110)
10-13 15:10:55.124: E/httpservice(24745):	at org.apache.http.util.EntityUtils.toString(EntityUtils.java:146)
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.provider.EventBus.getContentAsString(EventBus.java:178)
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.provider.EventBus.fireOnContentReceived(EventBus.java:101)
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.service.executor.ThreadManager$1.run(ThreadManager.java:151)
10-13 15:10:55.124: E/httpservice(24745): Exception consuming content
10-13 15:10:55.124: E/httpservice(24745): java.lang.NullPointerException
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.provider.EventBus.getContentAsString(EventBus.java:183)
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.provider.EventBus.fireOnContentReceived(EventBus.java:101)
10-13 15:10:55.124: E/httpservice(24745):	at com.novoda.httpservice.service.executor.ThreadManager$1.run(ThreadManager.java:151)