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: 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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants