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

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

via GitHub by vrodax
, 1 year ago
Fragment already added: HomeFragment{9609a480 #0 id=0x7f060073 XPlatformMenus.Core.ViewModels.HomeViewModel}
via Stack Overflow by phlebas
, 2 years ago
Fragment already added: i{4079e598 #2 id=0x1020002 i}
via phonesdevelopers.com by Unknown author, 2 years ago
via GitHub by MisterY
, 2 years ago
Fragment already added: HomeFragment{430c5d70 #0 id=0x7f0d0076 HomeFragment}
via Stack Overflow by Ravi
, 2 years ago
Fragment already added: AboutFragment{41c8a878 #0 id=0x7f07003d}
via Stack Overflow by RRaveen
, 10 months ago
Fragment already added: NamedFragment{2c7b548 #0 id=0x7f0e0097 android:switcher:2131624087:0}
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 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.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.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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
21 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
4 times, 4 months ago
5 more bugmates

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