wordpress-mobile / wordpress-mobile/WordPress-Android
IllegalStateException: FetchSite is already in progress!
Open
Nobody has claimed this yet.
[Pri] Low
[Type] Bug
[Type] Crash
Domains
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Sentry Issue: JETPACK-ANDROID-DEG
IllegalStateException: FetchSite is already in progress!
at org.wordpress.android.ui.domains.usecases.FetchPlansUseCase.execute(FetchPlansUseCase.kt:36)
at org.wordpress.android.ui.domains.DomainsDashboardViewModel$refresh$1$deferredPlansResult$1.invokeSuspend(DomainsDashboardViewModel.kt:82)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.CoroutineContextKt.withContinuationContext
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:90)
...
(5 additional frame(s) were not displayed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with FetchPlansUseCase.kt:36 and trace the call from DomainsDashboardViewModel.kt:82, where refresh launches the deferred plans result. Reproduce or inspect the Sentry exception to determine why FetchSite is already in progress, then verify that the duplicate-progress failure no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100