NullPointerException: Attempt to invoke virtual method 'java.util.List org.wordpress.android.fluxc.network.rest.wpcom.r...
sentry-io opened this issue · comments
sentry-io commented
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 commented
Thanks for reporting! 👍
sentry-io commented
Sentry Issue: JETPACK-ANDROID-KMY
Irfan Ömür commented
It seems the response of fetchRevisions()
function receives null RevisionsResponse
and it causes NullPointerException
.