You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FATAL EXCEPTION: mrousavy/VisionCamera.video
Process: com.airdoc.visiontrain, PID: 13485
java.lang.NullPointerException: Attempt to invoke virtual method 'java.nio.ByteBuffer android.media.Image$Plane.getBuffer()' on a null object reference
at com.google.mlkit.vision.common.InputImage.zzb(com.google.mlkit:vision-common@@17.3.0:15)
at com.google.mlkit.vision.common.InputImage.fromMediaImage(com.google.mlkit:vision-common@@17.3.0:1)
at com.mrousavy.camera.core.CodeScannerPipeline._init_$lambda$4(CodeScannerPipeline.kt:53)
at com.mrousavy.camera.core.CodeScannerPipeline.$r8$lambda$J9uS5V_QrF4Y46dODUvYa6w1Wm0(Unknown Source:0)
at com.mrousavy.camera.core.CodeScannerPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:4)
at android.media.ImageReader$1.run(ImageReader.java:916)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
Thanks for reporting ze issue! It seems ze log you provided indicates a NullPointerException, which is likely related to ze camera image processing. One thing to note is that you mentioned you cannot reproduce this issue in ze Example app, which could suggest ze issue might be with your specific implementation or environment.
To better assist you, please make sure to check for any potential discrepancies in ze implementation compared to ze Example app. Additionally, if you encounter any more issues, ensure you attach ze logs from adb logcat for a deeper look into ze problem.
If you're finding value in this project, consider sponsoring mrousavy here to support further development.
Let's keep zis issue open for now!
Note: If you think I made a mistake, please ping @mrousavy to take a look.
What's happening?
When I exited the scanning page, a crash occurred
Reproduceable Code
Relevant log output
Camera Device
Device
Android 13
VisionCamera Version
3.9.2
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information
The text was updated successfully, but these errors were encountered: