wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.92k stars 1.3k forks source link

IllegalArgumentException: Site successfully fetched but has not been found in the local db. #20530

Closed sentry-io[bot] closed 3 weeks ago

sentry-io[bot] commented 1 month ago

Sentry Issue: JETPACK-ANDROID-DYR

IllegalArgumentException: Site successfully fetched but has not been found in the local db.
    at org.wordpress.android.ui.sitecreation.previews.SitePreviewViewModel.fetchNewlyCreatedSiteModel(SitePreviewViewModel.kt:135)
    at org.wordpress.android.ui.sitecreation.previews.SitePreviewViewModel.access$fetchNewlyCreatedSiteModel(SitePreviewViewModel.kt:41)
    at org.wordpress.android.ui.sitecreation.previews.SitePreviewViewModel$fetchNewlyCreatedSiteModel$1.invokeSuspend(SitePreviewViewModel.kt:0)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.CoroutineContextKt.withContinuationContext
...
(6 additional frame(s) were not displayed)
dangermattic commented 1 month ago

Thanks for reporting! 👍

antonis commented 1 month ago

Possibly related to this older fixed bug https://github.com/wordpress-mobile/WordPress-Android/issues/11394

antonis commented 1 month ago

Looking at the breadcrumbs the error usually follows a DB error Can't insert WP.com site [some site], missing user account