diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java index 9098e98b25de91..0b96e0b2047747 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java @@ -642,7 +642,7 @@ private static boolean sameTextForSpan( // This is hacked in for Fabric. When we delete non-Fabric code, we might be able to simplify or // clean this up a bit. private void addSpansForMeasurement(Spannable spannable) { - if (!mFabricViewStateManager.hasStateWrapper()) { + if (mFabricViewStateManager != null && !mFabricViewStateManager.hasStateWrapper()) { return; }