react-native-vision-camera: π java.lang.NullPointerException in FrameProcessorRuntimeManager.
What were you trying to do?
We have 40k MAU and we see 230 occurrences of this error for the last 30 days.
Reproduceable Code
No response
What happened instead?
The issue seems to happen on app start.
Relevant log output
java.lang.NullPointerException:
at java.util.Objects.requireNonNull (Objects.java:245)
at com.mrousavy.camera.frameprocessor.FrameProcessorRuntimeManager.<init> (FrameProcessorRuntimeManager.kt:33)
at com.mrousavy.camera.CameraViewManager$1.run (CameraViewManager.kt:20)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:920)
Device
Android only: most seen on Google Pixel 4a, Google Pixel 6, Samsung Galaxy S20 FE 5G, Samsung Galaxy Z Flip3 5G, all have Android 12
VisionCamera Version
2.10.0
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this projectβs Code of Conduct
- I searched for similar issues in this repository and found none.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 11
- Comments: 20 (2 by maintainers)
I attach the patch file here, if someone has the time to create a PR from it. But I guess since V3 is being worked on that PR might not be merged soon.
react-native-vision-camera+2.15.4.patch
I created a working patch that will fix this issue. Will create PR soon.
@pke any idea when do you will do a PR to fix?