Page MenuHomeGitPull.it

Fix "IllegalStateException: FragmentManager has been destroyed"
Closed, InvalidPublic

Description

Dear Developers,
Please triage this crash.

Here part of the crash dump:

version code:
30

version name:
1.13.1-dev

phone:
SM-G900F

brand:
samsung

stack:
java.lang.IllegalStateException: FragmentManager has been destroyed
	at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:1737)
	at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:321)
	at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:286)
	at it.reyboz.bustorino.ActivityMain$NearbyStopsRequester.run(ActivityMain.java:654)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)

Thank you! :)

Generated with https://lab.reyboz.it/libre-busto/crash-report/
By Luca Rossi (thank you!)