From 1883f83033ecf586d474d47baacf15be25a055e4 Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 22 Apr 2022 11:50:18 -0700 Subject: [PATCH] fix NPE --- .../app/src/main/java/org/eehouse/android/xw4/DBUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java index 663410c20..331e59f68 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java @@ -2086,7 +2086,7 @@ public class DBUtils { cursor.close(); } - if ( null == result.fullSum ) { // force generation + if ( null != result && null == result.fullSum ) { // force generation result = null; }