java.lang.IllegalStateException

Fragment already added: HomeFragment{9609a480 #0 id=0x7f060073 XPlatformMenus.Core.ViewModels.HomeViewModel}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web8776

  • via GitHub by vrodax
    , 9 months ago
    Fragment already added: HomeFragment{9609a480 #0 id=0x7f060073 XPlatformMenus.Core.ViewModels.HomeViewModel}
  • Fragment already added: HomeFragment{430c5d70 #0 id=0x7f0d0076 HomeFragment}
  • via GitHub by ELY3M
    , 2 months ago
    Fragment already added: MainFragment{5cd5160 #0 id=0x7f0e0079 Bulbs}
  • Stack trace

    • java.lang.IllegalStateException: Fragment already added: HomeFragment{9609a480 #0 id=0x7f060073 XPlatformMenus.Core.ViewModels.HomeViewModel} at android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1323) at android.support.v4.app.BackStackRecord.popFromBackStack(BackStackRecord.java:933) at android.support.v4.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1670) at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:586) at xplatformmenus.droid.activities.MainActivity.n_onBackPressed(Native Method) at xplatformmenus.droid.activities.MainActivity.onBackPressed(MainActivity.java:47) at android.app.Activity.onKeyUp(Activity.java:2193) at android.view.KeyEvent.dispatch(KeyEvent.java:2664) at android.app.Activity.dispatchKeyEvent(Activity.java:2423) at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:524) at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50) at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:241) at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1962) at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3845) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3819) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3392) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3442) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3411) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3518) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3419) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3575) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3392) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3442) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3411) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3419) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3392) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3442) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3411) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3551) at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3711) at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2010) at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1704) at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1695) at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1987) at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:138) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:5001) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 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

    Unknown user
    Once, 1 year ago
    21 times, 1 year ago
    Unknown user
    Once, 1 year ago
    4 times, 4 weeks ago
    40 times, 5 months ago
    4 more bugmates