Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

IllegalStateException: Fragment AddonsManagementFragment{503ecf9} (312b5ca5-3fc3-40a4-af56-fc4e7592a3db)} not attached t... #15816

Closed
grigoryk opened this issue Oct 9, 2020 · 2 comments
Assignees
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info Feature:WebExtensions

Comments

@grigoryk
Copy link
Contributor

grigoryk commented Oct 9, 2020

https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/8940689/?referrer=github_plugin

IllegalStateException: Fragment AddonsManagementFragment{503ecf9} (312b5ca5-3fc3-40a4-af56-fc4e7592a3db)} not attached to a context.
    at org.mozilla.fenix.addons.AddonsManagementFragment$showInstallationDialog$dialog$1.invoke(AddonsManagementFragment.kt:3)
...
(10 additional frame(s) were not displayed)

Fragment AddonsManagementFragment{503ecf9} (312b5ca5-3fc3-40a4-af56-fc4e7592a3db)} not attached to a context.

┆Issue is synchronized with this Jira Task

@grigoryk
Copy link
Contributor Author

grigoryk commented Oct 9, 2020

Pretty steady, high-ish volume on release: https://sentry.prod.mozaws.net/operations/firefox/issues/9287100/?query=is%3Aunresolved%20AddonsManagementFragment

@grigoryk grigoryk added Feature:WebExtensions b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info labels Oct 9, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Oct 9, 2020
@grigoryk grigoryk removed the needs:triage Issue needs triage label Oct 9, 2020
@grigoryk grigoryk added this to Needs triage in Android: Crash Tracking via automation Oct 9, 2020
@grigoryk grigoryk added this to 🏃‍♀️ In Progress in A-C: Android Components Sprint Planning Oct 9, 2020
@grigoryk grigoryk self-assigned this Oct 9, 2020
@grigoryk grigoryk moved this from Needs triage to Backlog in Android: Crash Tracking Oct 9, 2020
@grigoryk
Copy link
Contributor Author

grigoryk commented Oct 13, 2020

Judging by the stacktrace, this is happening during onConfirmButtonClicked handling; we can prevent the crash, but that will likely mean that we also drop the "allow in private tabs" setting (if user set it). but that would mean only a best-effort handling of the "allow in private tabs" pref (it could be ignored, but likely shouldn't be).

grigoryk pushed a commit to grigoryk/fenix that referenced this issue Oct 13, 2020
@Amejia481 Amejia481 self-assigned this Oct 27, 2020
Amejia481 pushed a commit to grigoryk/fenix that referenced this issue Oct 27, 2020
A-C: Android Components Sprint Planning automation moved this from 🏃‍♀️ In Progress to 🏁 Done Oct 27, 2020
Android: Crash Tracking automation moved this from Backlog to Closed Oct 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info Feature:WebExtensions
Projects
Development

No branches or pull requests

2 participants