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

NoSuchElementException: Collection contains no element matching the predicate. #13669

Open
sentry-io bot opened this issue Mar 5, 2025 · 1 comment
Open
Labels
feature: site picker Any task related to site picker screen type: crash The worst kind of bug.

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 5, 2025

Sentry Issue: WOOCOMMERCE-ANDROID-JGD

NoSuchElementException: Collection contains no element matching the predicate.
    at com.woocommerce.android.ui.sitepicker.SitePickerViewModel.onContinueButtonClick(SitePickerViewModel.kt:483)
    _sites.value?.first { (it is WooSiteUiModel) && it.isSelected }
    at com.woocommerce.android.ui.sitepicker.SitePickerViewModel.processLoginSiteAddress(SitePickerViewModel.kt:308)
    onContinueButtonClick(true)
    at com.woocommerce.android.ui.sitepicker.SitePickerViewModel.onSitesLoaded(SitePickerViewModel.kt:244)
    processLoginSiteAddress(it)
    at com.woocommerce.android.ui.sitepicker.SitePickerViewModel.access$onWooInstalled$fetchSite(SitePickerViewModel.kt:57)
    @HiltViewModel
    at com.woocommerce.android.ui.sitepicker.SitePickerViewModel.access$onSitesLoaded(SitePickerViewModel.kt:57)
    @HiltViewModel
...
(14 additional frame(s) were not displayed)
@sentry-io sentry-io bot added feature: site picker Any task related to site picker screen type: crash The worst kind of bug. labels Mar 5, 2025
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: site picker Any task related to site picker screen type: crash The worst kind of bug.
Projects
None yet
Development

No branches or pull requests

1 participant