java.lang.IllegalStateException: Activity has been destroyed


Solutions on the web

Solution icon of web
Activity has been destroyed

Solution icon of web
Activity has been destroyed

Solution icon of bugzilla
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Solution icon of github
via GitHub by mikrosk
, 8 months ago
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Solution icon of github
Activity has been destroyed

Stack trace

java.lang.IllegalStateException: Activity has been destroyed
	at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1314)
	at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:541)
	at android.support.v4.app.BackStackRecord.commitAllowingStateLoss(BackStackRecord.java:529)
	at cn.ditouch.client.activity.BaseFragmentActivity.removeFragmentDialog(BaseFragmentActivity.java:129)
	at cn.ditouch.client.activity.BaseFragmentActivity.removeFragmentDialog(BaseFragmentActivity.java:114)
	at cn.ditouch.client.guilin.DiTouchClientActivity.access$1(DiTouchClientActivity.java:1)
	at cn.ditouch.client.guilin.DiTouchClientActivity$ConnectServerTask.onPostExecute(DiTouchClientActivity.java:299)
	at cn.ditouch.client.guilin.DiTouchClientActivity$ConnectServerTask.onPostExecute(DiTouchClientActivity.java:1)
	at android.os.AsyncTask.finish(AsyncTask.java:602)
	at android.os.AsyncTask.access$600(AsyncTask.java:156)
	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4424)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
	at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
19 more bugmates