java.lang.IllegalStateException: Activity has been destroyed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalStateException: Activity has been destroyed
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1511)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
at net.osmand.plus.mapcontextmenu.other.MapMultiSelectionMenuFragment.showInstance(MapMultiSelectionMenuFragment.java:109)
at net.osmand.plus.mapcontextmenu.other.MapMultiSelectionMenu.show(MapMultiSelectionMenu.java:166)
at net.osmand.plus.views.ContextMenuLayer.showContextMenuForSelectedObjects(ContextMenuLayer.java:323)
at net.osmand.plus.views.ContextMenuLayer.showContextMenu(ContextMenuLayer.java:190)
at net.osmand.plus.views.ContextMenuLayer.onSingleTap(ContextMenuLayer.java:305)
at net.osmand.plus.views.OsmandMapTileView$MapTileViewOnGestureListener.onSingleTapConfirmed(OsmandMapTileView.java:1089)
at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:273)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5121)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

Users with the same issue

Once, 11 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

Know the solutions? Share your knowledge to help other developers to debug faster.