MissCoconut / fanfoudroid

Automatically exported from code.google.com/p/fanfoudroid
0 stars 0 forks source link

偶然情况下的FC (No wrapped connection.) #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
今天早上打开程序时突然跳出来的。

E/AndroidRuntime(15521): FATAL EXCEPTION: AsyncTask #4

E/AndroidRuntime(15521): java.lang.RuntimeException: An error occured while 
executing doInBackground()

E/AndroidRuntime(15521):    at android.os.AsyncTask$3.done(AsyncTask.java:200)

E/AndroidRuntime(15521):    at 
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)

E/AndroidRuntime(15521):    at 
java.util.concurrent.FutureTask.setException(FutureTask.java:125)

E/AndroidRuntime(15521):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)

E/AndroidRuntime(15521):    at 
java.util.concurrent.FutureTask.run(FutureTask.java:138)

E/AndroidRuntime(15521):    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)

E/AndroidRuntime(15521):    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)

E/AndroidRuntime(15521):    at java.lang.Thread.run(Thread.java:1019)

E/AndroidRuntime(15521): Caused by: java.lang.IllegalStateException: No wrapped 
connection.

E/AndroidRuntime(15521):    at 
org.apache.http.impl.conn.AbstractClientConnAdapter.assertValid(AbstractClientCo
nnAdapter.java:163)

E/AndroidRuntime(15521):    at 
org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseEntity(Abstra
ctClientConnAdapter.java:243)

E/AndroidRuntime(15521):    at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecut
or.java:281)

E/AndroidRuntime(15521):    at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:12
1)

E/AndroidRuntime(15521):    at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirecto
r.java:421)

E/AndroidRuntime(15521):    at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:5
55)

E/AndroidRuntime(15521):    at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:4
87)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.http.HttpClient.httpRequest(HttpClient.java:379)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.http.HttpClient.httpRequest(HttpClient.java:328)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.http.HttpClient.get(HttpClient.java:322)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.weibo.Weibo.get(Weibo.java:261)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.weibo.Weibo.get(Weibo.java:293)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.weibo.Weibo.getMentions(Weibo.java:550)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.service.TwitterService$RetrieveTask._doInBackground(Tw
itterService.java:450)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:73)

E/AndroidRuntime(15521):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:1)

E/AndroidRuntime(15521):    at android.os.AsyncTask$2.call(AsyncTask.java:185)

E/AndroidRuntime(15521):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)

E/AndroidRuntime(15521):    ... 4 more

Original issue reported on code.google.com by ch.lin...@gmail.com on 18 May 2011 at 12:57

GoogleCodeExporter commented 9 years ago
应该是我在测试速度的时候把HttpClient限制为单线程的原因, 
但是此问题我在下载图片的那个线程(那个没有使用HttpClient)��
�看到过一次.

目前这个两个问题都应该是已经被修复了, 保险起见, 
先观察几天, 如果再没有发现此情况则可关闭此Issue.

Original comment by lds2...@gmail.com on 18 May 2011 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by lds2...@gmail.com on 18 May 2011 at 3:19

GoogleCodeExporter commented 9 years ago
See:
Revision 61b65734ec 
Revision 249be76b1e

Original comment by lds2...@gmail.com on 18 May 2011 at 3:21

GoogleCodeExporter commented 9 years ago

Original comment by lds2...@gmail.com on 3 Jun 2011 at 2:52