diff --git a/app/src/main/java/eu/faircode/email/TupleKeyword.java b/app/src/main/java/eu/faircode/email/TupleKeyword.java index d077547731..b3c7b43aca 100644 --- a/app/src/main/java/eu/faircode/email/TupleKeyword.java +++ b/app/src/main/java/eu/faircode/email/TupleKeyword.java @@ -53,6 +53,13 @@ public class TupleKeyword { } static List from(Context context, Persisted data) { + if (data == null) + data = new Persisted(); + if (data.selected == null) + data.selected = new String[0]; + if (data.available == null) + data.available = new String[0]; + List result = new ArrayList<>(); List keywords = new ArrayList<>();