diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java index 0176c5290487f2..df3e443f96cd70 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java @@ -562,6 +562,11 @@ protected synchronized final void addRootViewGroup( */ protected synchronized void dropView(View view) { UiThreadUtil.assertOnUiThread(); + if (mTagsToViewManagers.get(view.getId()) == null) { + // This view has already been dropped (likely due to a threading issue caused by async js + // execution). Ignore this drop operation. + return; + } if (!mRootTags.get(view.getId())) { // For non-root views we notify viewmanager with {@link ViewManager#onDropInstance} resolveViewManager(view.getId()).onDropViewInstance(view);