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
In the field, we're often experiencing app frequently crashes on Android stemming from an "Image is already closed" exception.
This is the stack trace from the inner exception.
Java.Lang.IllegalStateException: Image is already closed
?, in JniObjectReference StaticMethods.CallStaticObjectMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)
?, in JniObjectReference JniStaticMethods.InvokeObjectMethod(string, JniArgumentValue*)
?, in InputImage InputImage.FromMediaImage(Image, int)
?, in async Task CameraManager.PerformBarcodeDetection(IImageProxy)
PerformBarcodeDetection (now called DetectBarcode in the latest codebase) is called by AnalyzeFrame. DetectBarcode is an async method but is the call to it is not awaited. This causes the app to crash with TaskExceptionHolder_UnhandledException.
BarcodeScanning.Native.Maui version: 1.5.7
The text was updated successfully, but these errors were encountered:
In the field, we're often experiencing app frequently crashes on Android stemming from an "Image is already closed" exception.
This is the stack trace from the inner exception.
PerformBarcodeDetection
(now calledDetectBarcode
in the latest codebase) is called byAnalyzeFrame
.DetectBarcode
is an async method but is the call to it is not awaited. This causes the app to crash with TaskExceptionHolder_UnhandledException.BarcodeScanning.Native.Maui version: 1.5.7
The text was updated successfully, but these errors were encountered: