Page MenuHomeGitPull.it

Fix crash with "Fragment already added" in version 1.15.4 on Android 10
Closed, ResolvedPublic

Description

Dear Developers,
Please triage this crash:

version code:
35

version name:
1.15.4

android version:
10

phone:
CPH1931

brand:
OPPO

stack:
java.lang.IllegalStateException: Fragment already added: ArrivalsFragment{76c931a} (f864a0b0-9c5b-4efd-be33-c78d5cd536fa id=0x7f08015e tag=palina_343)
	at androidx.fragment.app.FragmentStore.addFragment(FragmentStore.java:91)
	at androidx.fragment.app.FragmentManager.addFragment(FragmentManager.java:1713)
	at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:415)
	at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2404)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2162)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3138)
	at androidx.fragment.app.FragmentManager.dispatchViewCreated(FragmentManager.java:3065)
	at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:2988)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:546)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:282)
	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)
	at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:3072)
	at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:251)
	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:502)
	at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:246)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1446)
	at android.app.Activity.performStart(Activity.java:7990)
	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3535)
	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:237)
	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:217)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:189)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:113)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2213)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:238)
	at android.app.ActivityThread.main(ActivityThread.java:7864)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:998)

Thank you! :)

Originally reported by Stefano F.

Generated with https://lab.reyboz.it/libre-busto/crash-report/ (P15)