Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalStateException: Image is already closed #20778

Closed
sentry-io bot opened this issue May 7, 2024 · 2 comments
Closed

IllegalStateException: Image is already closed #20778

sentry-io bot opened this issue May 7, 2024 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented May 7, 2024

Sentry Issue: JETPACK-ANDROID-R6X

IllegalStateException: Image is already closed
    at org.wordpress.android.ui.barcodescanner.MediaImageProvider.provideImage(InputImageProvider.kt:13)
    return InputImage.fromMediaImage(imageProxy.image!!, imageProxy.imageInfo.rotationDegrees)
    at org.wordpress.android.ui.barcodescanner.GoogleMLKitCodeScanner$startScan$1.invokeSuspend(GoogleMLKitCodeScanner.kt:22)
    val barcodeTask = barcodeScanner.process(inputImageProvider.provideImage(imageProxy))
    at org.wordpress.android.ui.barcodescanner.GoogleMLKitCodeScanner$startScan$1.invoke(GoogleMLKitCodeScanner.kt:0)
    at org.wordpress.android.ui.barcodescanner.GoogleMLKitCodeScanner$startScan$1.invoke(GoogleMLKitCodeScanner.kt:0)
    at org.wordpress.android.ui.barcodescanner.GoogleMLKitCodeScanner$startScan$1.invoke(GoogleMLKitCodeScanner.kt:0)
...
(56 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented May 7, 2024

Thanks for reporting! 👍

@notandyvee
Copy link
Contributor

Fixed here #20870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants