-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 'boolean org.wordpress.android.ui.FilteredRecyclerView.isRefresh... #11992
Comments
Marking high priority as it's a new crash. |
I ran into this crash while testing #12001, and there are steps, a video, and app logs on the issue. (also see internal reference: p5T066-1jy-p2#comment-5006) |
This crash seems to have started occurring after this fix: #11927 was added in When toggling from Reader tab to My site tab,
It is unsafe to access any of the view elements in the I was able to reproduce this crash as follows:
(Don't forget to disable "Don't keep activities" in step 1 after testing) Fix could be to add a null check for the view element Note:
Above crash is due to this sentry issue and should be investigated separately. |
Awesome investigation @ashiagr!!! 🙇 Thanks I'll create a PR with a fix. |
I think this bug is related to this discussion (change in appcompat 1.1.0) #11292 (review)
I believe the view isn't garbage collected. The issue is that "onCreateView" was never invoked for the fragment on a backstack. However, it doesn't change anything. |
@ashiagr Friendly reminder to use the public urls for the Sentry crashes so it'd work for everyone. Re: #11992 (comment) |
@malinajirka Since this is a new crash, assuming the fix is simple enough, I think you can target |
Fixed in #12018 (targeting v14.9). |
The line that's failing has been last updated 2 years ago, but this issue started happening in the latest alpha/beta. (and it's the top crash for it)
Sentry Url: https://sentry.io/share/issue/518b348ef95844eca7ccc17717cfde3a/
User Count: 17
Count: 27
First Release: org.wordpress.android-14.9-rc-1
First Seen: 2020-05-20T00:49:43Z
Last Seen: 2020-05-22T00:56:06Z
24 Hours: 14
30 Days: 27
The text was updated successfully, but these errors were encountered: