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

[Crash] IllegalStateException: SearchDialogFragment not attached to a context #21388

Closed
csadilek opened this issue Sep 20, 2021 · 0 comments · Fixed by #21389
Closed

[Crash] IllegalStateException: SearchDialogFragment not attached to a context #21388

csadilek opened this issue Sep 20, 2021 · 0 comments · Fixed by #21389
Assignees
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info P1 Current sprint

Comments

@csadilek
Copy link
Contributor

csadilek commented Sep 20, 2021

This is fallout from: #21334

java.lang.IllegalStateException: Fragment SearchDialogFragment{432262d} (c0542985-566c-44a3-96bc-b8353b7f3dcc) not attached to a context.
    at androidx.fragment.app.Fragment.requireContext(Fragment.java:2)
    at org.mozilla.fenix.search.SearchDialogFragment$onResume$1$1.invokeSuspend(SearchDialogFragment.kt:5)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:784)

Sentry: https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/13192673/

┆Issue is synchronized with this Jira Task

@csadilek csadilek added b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info P1 Current sprint labels Sep 20, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Sep 20, 2021
@csadilek csadilek self-assigned this Sep 20, 2021
@csadilek csadilek removed the needs:triage Issue needs triage label Sep 20, 2021
csadilek added a commit to csadilek/fenix that referenced this issue Sep 20, 2021
csadilek added a commit to csadilek/fenix that referenced this issue Sep 20, 2021
pkirakosyan pushed a commit to gexsi/user-agent-android that referenced this issue Sep 24, 2021
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 P1 Current sprint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant