Android HTTP非法状态异常

Android HTTP非法状态异常,android,http,android-json,Android,Http,Android Json,我有以下代码,在一般情况下工作没有问题: HttpPost post = new HttpPost(sendURL); StringEntity se = new StringEntity( postJSON.toString(), "UTF-8"); se.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json")); post.setEntity(se); response = httpClient.exec

我有以下代码,在一般情况下工作没有问题:

HttpPost post = new HttpPost(sendURL);
StringEntity se = new StringEntity( postJSON.toString(), "UTF-8");  
se.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json"));
post.setEntity(se);
response = httpClient.execute(post);
当postJSON具有以下内容时,我会得到一个IllegalStateException,并显示消息“Manager已关闭”:

当items数组的内容格式不正确时,我收到了类似的消息,但我看不出这里有什么问题。而且,响应是即时的,因此我非常确定HTTP库引发的是异常,而不是服务器。这个JSON对象有什么问题

此外,在测试JSON时,我发现JSON解析正确,包括代码中新元素“61515”的数组。

我认为“items”:[“61515”]是问题所在。它应该像“items”:[{“61515”}]@Aharon Manne请检查一下
{"action":"add","items":["61515"],"screen":"display","customer_number":"200001013"}