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

NullPointerException: site.url must not be null #2991

Open
sentry-io bot opened this issue Apr 18, 2024 · 1 comment
Open

NullPointerException: site.url must not be null #2991

sentry-io bot opened this issue Apr 18, 2024 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 18, 2024

Sentry Issue: WORDPRESS-ANDROID-2QJZ

NullPointerException: site.url must not be null
    at org.wordpress.android.fluxc.store.ReactNativeStore.executeWPAPIRequest(ReactNativeStore.kt:178)
    at org.wordpress.android.fluxc.store.ReactNativeStore.executeWPAPIGetRequest(ReactNativeStore.kt:135)
    at org.wordpress.android.fluxc.store.ReactNativeStore.access$executePost(ReactNativeStore.kt:33)
    at org.wordpress.android.fluxc.store.ReactNativeStore.access$executeWPAPIGetRequest(ReactNativeStore.kt:33)
    at org.wordpress.android.fluxc.store.ReactNativeStore$executeGetRequest$2.invokeSuspend(ReactNativeStore.kt:78)
...
(27 additional frame(s) were not displayed)
@fluiddot
Copy link
Contributor

This issue looks similar to #1579 but affecting a different parameter. I wonder if it could be addressed following the same approach as applied in #2389. This implies storing the site URL in a variable to avoid the exception in case the site object is modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant