diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java index 8233fc224f111f..cf0b8b37a12108 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java @@ -491,7 +491,9 @@ public final ReactShadowNodeImpl removeNativeChildAt(int i) { @Override public final void removeAllChildren() { removeAllNativeChildren(); - mChildren.clear(); + if (mChildren != null) { + mChildren.clear(); + } } @Override