From b56a922c658ba2d8b816422259ca1596c159f1bc Mon Sep 17 00:00:00 2001 From: Rafael Carrillo Date: Fri, 16 May 2025 18:12:35 -0700 Subject: [PATCH] Fix a NullPointerException in NotificationsListFragment.java - Some notifications will have the status attribute set as null and the if in 128 is trying to access to attributes from a null object, causing a NPE as soon the app is opened. --- .../android/fragments/NotificationsListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java index 92a6cebba..e6b542286 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -125,7 +125,7 @@ public class NotificationsListFragment extends BaseStatusListFragment