Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when trying to put MainFragments in savedInstanceState of TabFragment #2621

Closed
Thewisem opened this issue Jun 13, 2021 · 1 comment
Closed
Assignees

Comments

@Thewisem
Copy link

Thewisem commented Jun 13, 2021

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.6.0
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 7.1.1 - 25
  • Device: gt5note10lte
  • Model: SM-P555
  • Product: gt5note10ltexx
Crash log

java.lang.IllegalStateException: Fragment MainFragment{47aff76} (f99a665c-5dc2-4c16-ac8b-3ef22c78bf18)} 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:243)
	at androidx.fragment.app.Fragment.performSaveInstanceState(Fragment.java:3138)
	at androidx.fragment.app.FragmentStateManager.saveBasicState(FragmentStateManager.java:680)
	at androidx.fragment.app.FragmentStateManager.saveState(FragmentStateManager.java:646)
	at androidx.fragment.app.FragmentStore.saveActiveFragments(FragmentStore.java:177)
	at androidx.fragment.app.FragmentManager.saveAllState(FragmentManager.java:2641)
	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:324)
	at androidx.appcompat.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:544)
	at com.amaze.filemanager.ui.activities.MainActivity.onSaveInstanceState(MainActivity.java:1226)
	at android.app.Activity.performSaveInstanceState(Activity.java:1507)
	at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1308)
	at android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:5045)
	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4313)
	at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4372)
	at android.app.ActivityThread.-wrap28(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1693)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6823)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)


@VishalNehra VishalNehra changed the title Crash Crashes when trying to put MainFragments in savedInstanceState of TabFragment Jun 13, 2021
@VishalNehra VishalNehra added this to the v3.7 milestone Jun 13, 2021
@VishalNehra VishalNehra self-assigned this Jun 13, 2021
@VishalNehra
Copy link
Member

Duplicate #1555

@VishalNehra VishalNehra removed this from the v3.7 milestone Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants