diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/MainActivity.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/MainActivity.java index 7c8ecaf9a..76e2d0f85 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/MainActivity.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/MainActivity.java @@ -357,7 +357,7 @@ public class MainActivity extends XWActivity private void logPaneFragments() { - if ( BuildConfig.DEBUG ) { + if ( BuildConfig.DEBUG && null != m_root ) { List pairs = new ArrayList<>(); int childCount = m_root.getChildCount(); for ( int ii = 0; ii < childCount; ++ii ) {