Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

NullPointerException: Attempt to invoke virtual method 'java.util.List org.wordpress.android.fluxc.network.rest.wpcom.r... #3024

Open
sentry-io bot opened this issue May 29, 2024 · 3 comments

Comments

@sentry-io
Copy link

sentry-io bot commented May 29, 2024

Sentry Issue: JETPACK-ANDROID-KMY

NullPointerException: Attempt to invoke virtual method 'java.util.List org.wordpress.android.fluxc.network.rest.wpcom.revisions.RevisionsResponse.getDiffs()' on a null object reference
    at org.wordpress.android.fluxc.network.rest.wpcom.post.PostRestClient.revisionsResponseToRevisionsModel(PostRestClient.java:758)
    at org.wordpress.android.fluxc.network.rest.wpcom.post.PostRestClient.access$1900(PostRestClient.java:78)
    at org.wordpress.android.fluxc.network.rest.wpcom.post.PostRestClient$19.onResponse(PostRestClient.java:470)
    at org.wordpress.android.fluxc.network.rest.wpcom.post.PostRestClient$19.onResponse(PostRestClient.java:466)
    at org.wordpress.android.fluxc.network.rest.GsonRequest.deliverResponse(GsonRequest.java:56)
...
(9 additional frame(s) were not displayed)
@dangermattic
Copy link

Thanks for reporting! 👍

@irfano irfano transferred this issue from wordpress-mobile/WordPress-Android May 29, 2024
Copy link
Author

sentry-io bot commented May 29, 2024

Sentry Issue: JETPACK-ANDROID-KMY

@irfano
Copy link
Member

irfano commented May 29, 2024

It seems the response of fetchRevisions() function receives null RevisionsResponse and it causes NullPointerException.

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

No branches or pull requests

3 participants