Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RNTester Minimum Reproducible Example
A Minimum Reproducible Example that triggers the Null Pointer Exception Runtime Error NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)' The following are the conditions that trigger the runtime error: 1) a large list (>100) TextInputs with key prop 2) with FlatList passing prop data=[{key: 1, key:2,.., key:5000]] 3) trigger re-render to ensure the NPE Runtime Error is triggered The example is built using hooks useEffect similar to componentDidMount. Original post is here facebook#17530 (comment)
- Loading branch information