TeamAmaze / AmazeFileManager

Material design file manager for Android
https://teamamaze.xyz
GNU General Public License v3.0
5.36k stars 1.58k forks source link

Crash reported by thomas #3556

Closed amaze-issue-automation[bot] closed 2 years ago

amaze-issue-automation[bot] commented 2 years ago

Issue explanation (write below this line)

Exception

java.lang.IllegalStateException: Fragment MainFragment{ee0867c}
(6d3f6084-3efd-48dc-b05f-a0d8b1156a27) is not currently in the
FragmentManager
at
androidx.fragment.app.FragmentManager.putFragment(FragmentManager.java:937)
at
com.amaze.filemanager.ui.fragments.TabFragment.onSaveInstanceState(TabFragment.java:248)
at
androidx.fragment.app.Fragment.performSaveInstanceState(Fragment.java:3151)
at
androidx.fragment.app.FragmentStateManager.saveBasicState(FragmentStateManager.java:683)
at
androidx.fragment.app.FragmentStateManager.saveState(FragmentStateManager.java:649)
at
androidx.fragment.app.FragmentStore.saveActiveFragments(FragmentStore.java:177)
at
androidx.fragment.app.FragmentManager.saveAllState(FragmentManager.java:2655)
at
androidx.fragment.app.FragmentController.saveAllState(FragmentController.java:152)
at
androidx.fragment.app.FragmentActivity$1.saveState(FragmentActivity.java:133)
at
androidx.savedstate.SavedStateRegistry.performSave(SavedStateRegistry.java:227)
at
androidx.savedstate.SavedStateRegistryController.performSave(SavedStateRegistryController.java:74)
at
androidx.activity.ComponentActivity.onSaveInstanceState(ComponentActivity.java:338)
at
com.amaze.filemanager.ui.activities.MainActivity.onSaveInstanceState(MainActivity.java:1278)
at android.app.Activity.performSaveInstanceState(Activity.java:2242)
at
android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1508)
at
android.app.ActivityThread.callActivityOnSaveInstanceState(ActivityThread.java:6448)
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5801)
at
android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:6397)
at
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:6294)
at
android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:71)
at
android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at
android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:65)
at
android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:6383)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2453)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)


VishnuSanal commented 2 years ago

dupe #1555