Code Monkey home page Code Monkey logo

Comments (1)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
//come from another bug report but I think it's same problem

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.ch_linghu.fanfoudroid/com.ch_linghu.fanfoudroid.TwitterActivit
y}: java.lang.IllegalStateException: Content has been consumed
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2852)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2873)
at android.app.ActivityThread.access$2300(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2186)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5127)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: Content has been consumed
at org.apache.http.entity.BasicHttpEntity.getContent(BasicHttpEntity.java:84)
at 
org.apache.http.conn.BasicManagedEntity.getContent(BasicManagedEntity.java:100)
at com.ch_linghu.fanfoudroid.http.Response.entityToString(Response.java:100)
at com.ch_linghu.fanfoudroid.http.Response.asString(Response.java:81)
at com.ch_linghu.fanfoudroid.http.Response.asJSONObject(Response.java:163)
at com.ch_linghu.fanfoudroid.fanfou.User.<init>(User.java:119)
at com.ch_linghu.fanfoudroid.fanfou.Weibo.showUser(Weibo.java:694)
at 
com.ch_linghu.fanfoudroid.TwitterApplication.fetchMyselfInfo(TwitterApplication.
java:63)
at 
com.ch_linghu.fanfoudroid.TwitterApplication.getMyselfId(TwitterApplication.java
:77)
at com.ch_linghu.fanfoudroid.TwitterActivity.getUserId(TwitterActivity.java:255)
at 
com.ch_linghu.fanfoudroid.TwitterActivity.fetchMessages(TwitterActivity.java:173
)
at 
com.ch_linghu.fanfoudroid.ui.base.TwitterCursorBaseActivity.setupState(TwitterCu
rsorBaseActivity.java:213)
at 
com.ch_linghu.fanfoudroid.ui.base.TwitterListBaseActivity._onCreate(TwitterListB
aseActivity.java:136)
at 
com.ch_linghu.fanfoudroid.ui.base.TwitterCursorBaseActivity._onCreate(TwitterCur
sorBaseActivity.java:317)
at com.ch_linghu.fanfoudroid.TwitterActivity._onCreate(TwitterActivity.java:91)
at com.ch_linghu.fanfoudroid.ui.base.BaseActivity.onCreate(BaseActivity.java:44)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2816)
... 11 more

Original comment by [email protected] on 20 Jun 2011 at 1:49

from fanfoudroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.