Attempt to invoke virtual method 'void.com.facebook.react.uimanager.UIManagerModule.onBatchComplete()' on a null object reference
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react-native, typescript
- 领域
- mobile
调研方向
未指定文件或测试。首先使用 React Native 0.76.2、react-native-ui-lib 7.34.2、一个 TextField,并启用新架构来复现 Android 崩溃;完成标准是应用在使用 TextField 时不再崩溃。
由索引模型根据 Issue 内容生成。
描述
Description
Attempt to invoke virtual method 'void.com.facebook.react.uimanager.UIManagerModule.onBatchComplete()' on a null object reference
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
Steps to reproduce the behavior:
- Create a new project with react-native": "^0.76"
- Setup react-native-ui-lib
- Add a TextField from react-native-ui-lib
- See error
Attempt to invoke virtual method 'void.com.facebook.react.uimanager.UIManagerModule.onBatchComplete()' on a null object reference
Expected behavior
For the app not to crash
Actual behavior
App crashes
More Info
Code snippet
<View flex paddingH-25 paddingT-120>
<Text blue50 text20>
Welcome
</Text>
<TextField text50 placeholder="username" grey10 />
<TextField text50 placeholder="password" secureTextEntry grey10 />
<View marginT-100 center>
<Button text70 white background-orange30 label="Login" />
<Button link text70 orange30 label="Sign Up" marginT-20 />
</View>
</View>
Screenshots/Video
Environment
System:
OS: Windows 11 10.0.26100
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900HK
Memory: 14.56 GB / 31.69 GB
Binaries:
Node:
version: 20.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: C:\Program Files\nodejs\yarn.CMD
npm:
version: 10.8.2
path: C:\Program Files\nodejs\npm.CMD
Watchman:
version: 20241103.093242.0
path: C:\ProgramData\chocolatey\bin\watchman.EXE
SDKs:
Android SDK:
API Levels:
- "34"
- "35"
Build Tools:
- 34.0.0
- 35.0.0
System Images:
- android-35 | Google Play Intel x86_64 Atom
Android NDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
IDEs:
Android Studio: AI-242.23339.11.2421.12550806
Visual Studio: Not Found
Languages:
Java:
version: 17.0.13
path: /c/Program Files/Microsoft/jdk-17.0.13.11-hotspot/bin/javac
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.2
wanted: 0.76.2
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
- React Native version: "0.76.2"
- React Native UI Lib version: "^7.34.2"
- "react-native-gesture-handler": "^2.21.2",
- "react-native-reanimated": "^3.16.1",
Affected platforms
- Android
- iOS
- Web
- 主要语言
- TypeScript
- 星标
- 7.2k
- 派生
- 749
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wix/react-native-ui-lib 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
wix/react-native-ui-lib#4022 ·
维护者通常 1 天内回复
-
SortableGridList does not forward props to its inner ScrollView (inconsistent with SortableList)可能已有人在做 @yinminqian 于 175 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
wix/react-native-ui-lib#4002 ·
维护者通常 1 天内回复
-
RN 0.85.0 StyleSheet.absoluteFillObject is removed可能已有人在做 @ChrisJamesC 于 81 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
wix/react-native-ui-lib#3965 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
asBaseComponent: stale module-level colorScheme prevents re-render on scheme switch back可能已有人在做 @huytdps13400 于 36 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 85/100
wix/react-native-ui-lib#3945 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
wix/react-native-ui-lib#4044 · 1 条评论 ·
维护者通常 1 天内回复
查看 wix/react-native-ui-lib 的全部 Issue
相似的 Issue
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
难度 2/5 1-3 小时 新手友好度 68/100
openclaw/openclaw#195577 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
EKKOLearnAI/ekko-studio#3729 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 78/100
Supportseal/SupportSeal-app#98 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
eliasstravik/herdr-projects#845 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
cloudflare/skills#279 ·
维护者通常 1 天内回复