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

IllegalStateException: Can not perform this action after onSaveInstanceState #20535

Closed
sentry-io bot opened this issue Mar 27, 2024 · 3 comments · Fixed by #20813, #20821, #20837 or #20836
Closed

IllegalStateException: Can not perform this action after onSaveInstanceState #20535

sentry-io bot opened this issue Mar 27, 2024 · 3 comments · Fixed by #20813, #20821, #20837 or #20836

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 27, 2024

Sentry Issue: JETPACK-ANDROID-800

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at androidx.fragment.app.FragmentManager.checkStateLoss(FragmentManager.java:1844)
    at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:1884)
    at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:329)
    at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:294)
    at org.wordpress.android.ui.posts.PostsListActivity.initSearchFragment(PostsListActivity.kt:540)
    at org.wordpress.android.ui.posts.PostsListActivity.onCreateOptionsMenu(PostsListActivity.kt:524)
@dangermattic
Copy link
Collaborator

dangermattic commented Mar 27, 2024

Thanks for reporting! 👍

Copy link
Author

sentry-io bot commented Apr 3, 2024

Sentry Issue: WORDPRESS-ANDROID-P0X

@irfano irfano self-assigned this May 14, 2024
@irfano
Copy link
Member

irfano commented May 14, 2024

The Sentry issue includes crashes from 4 places for the last 14 days. They all send the same error message.

  • 26 crashes from PostsListActivity
  • 8 crashes from LoginActivity
  • 5 crashes from GutenbergEditorFragment
  • 1 crash from PeopleManagementActivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment