-
Notifications
You must be signed in to change notification settings - Fork 142
IllegalStateException: SelectedSite.get() was accessed before being initialized - siteId -1. #10150
Copy link
Copy link
Closed
Labels
good first issueThe issue is a good candidate for a community contribution or for a newcomer to the team.The issue is a good candidate for a community contribution or for a newcomer to the team.type: crashThe worst kind of bug.The worst kind of bug.
Description
Sentry Issue: WOOCOMMERCE-ANDROID-8GD
IllegalStateException: SelectedSite.get() was accessed before being initialized - siteId -1.
Consider calling selectedSite.exists() to ensure site exists prior to calling selectedSite.get().
at com.woocommerce.android.tools.SelectedSite.get(SelectedSite.kt:64)
at com.woocommerce.android.ui.main.MainActivityViewModel.removeOrderNotifications(MainActivityViewModel.kt:125)
at com.woocommerce.android.ui.main.MainActivity.onNavItemSelected(MainActivity.kt:690)
at com.woocommerce.android.ui.main.MainBottomNavigationView.onNavigationItemSelected(MainBottomNavigationView.kt:142)
at com.woocommerce.android.ui.main.MainBottomNavigationView.setCurrentPosition(MainBottomNavigationView.kt:41)
...
(40 additional frame(s) were not displayed)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueThe issue is a good candidate for a community contribution or for a newcomer to the team.The issue is a good candidate for a community contribution or for a newcomer to the team.type: crashThe worst kind of bug.The worst kind of bug.