google-code-export / fanfoudroid

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

fanfoudroid0.7.5.2版bug以及打印log #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
试用android2.2版本模拟器,点击程序左上角的饭否fanfou.com切换
到”关注我的人“的时候,如果这时候点击更多,则会出现FC
,打印的log如下:
1.
W/dalvikvm(  583): threadid=14: thread exiting with uncaught exception 
(group=0x4001d800)
E/AndroidRuntime(  583): FATAL EXCEPTION: AsyncTask #5
E/AndroidRuntime(  583): java.lang.RuntimeException: An error occured while 
executing doInBackground()
E/AndroidRuntime(  583):    at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime(  583):    at 
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(  583):    at 
java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(  583):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(  583):    at 
java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(  583):    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime(  583):    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime(  583):    at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime(  583): Caused by: java.lang.NullPointerException
E/AndroidRuntime(  583):    at java.net.URLEncoder.encode(URLEncoder.java:94)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.http.HttpClient.encodeParameters(HttpClient.java:726)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.fanfou.Weibo.get(Weibo.java:290)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.fanfou.Weibo.get(Weibo.java:335)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.fanfou.Weibo.getFollowersList(Weibo.java:1599)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.FollowersActivity.getUsers(FollowersActivity.java:84)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.ui.base.UserArrayBaseActivity$RetrieveTask._doInBackgr
ound(UserArrayBaseActivity.java:161)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:95)
E/AndroidRuntime(  583):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:1)
E/AndroidRuntime(  583):    at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime(  583):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(  583):    ... 4 more
W/ActivityManager(   59):   Force finishing activity 
com.ch_linghu.fanfoudroid/.FollowersActivity
W/ActivityManager(   59):   Force finishing activity 
com.ch_linghu.fanfoudroid/.UserTimelineActivity
D/TwitterCursorBaseActivity(  583): onRestart.

2.
W/dalvikvm(  799): threadid=8: thread exiting with uncaught exception 
(group=0x4001d800)
D/dalvikvm(  799): GC_FOR_MALLOC freed 6402 objects / 322512 bytes in 69ms
E/AndroidRuntime(  799): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(  799): java.lang.RuntimeException: An error occured while 
executing doInBackground()
E/AndroidRuntime(  799):    at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime(  799):    at 
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(  799):    at 
java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(  799):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(  799):    at 
java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(  799):    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime(  799):    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime(  799):    at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime(  799): Caused by: java.lang.IllegalArgumentException: max_id 
is null. passed:
E/AndroidRuntime(  799):    at 
com.ch_linghu.fanfoudroid.fanfou.Paging.setMaxId(Paging.java:125)
E/AndroidRuntime(  799):    at 
com.ch_linghu.fanfoudroid.UserTimelineActivity$UserTimelineLoadMoreTask._doInBac
kground(UserTimelineActivity.java:303)
E/AndroidRuntime(  799):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:95)
E/AndroidRuntime(  799):    at 
com.ch_linghu.fanfoudroid.task.GenericTask.doInBackground(GenericTask.java:1)
E/AndroidRuntime(  799):    at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime(  799):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(  799):    ... 4 more
W/ActivityManager(   59):   Force finishing activity 
com.ch_linghu.fanfoudroid/.UserTimelineActivity
D/ProfileActivity(  799): onStart.
D/ProfileActivity(  799): onResume.

Original issue reported on code.google.com by tsyj2...@gmail.com on 6 Sep 2011 at 6:54

GoogleCodeExporter commented 9 years ago
重现此bug的方法:在登录进入饭否fanfou.com页面,然后点击左�
��角切换到我的消息,然后点击更多(不要等待loading完数据��
�,出现FC,出现的log是上面的1.

Original comment by tsyj2...@gmail.com on 6 Sep 2011 at 10:24