java.lang.IllegalStateException

Activity has been destroyed

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web142

  • via GitHub by annasoloviova
    ,
  • via GitHub by Dominik-K
    ,
  • Stack trace

    • 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 android.support.v4.app.BackStackRecord.commitAllowingStateLoss(BackStackRecord.java:617) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 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

    deallocdealloc
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    19 more bugmates