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

[Bug report] ML Kit Document Scanner crashes on discard #866

Open
dprasath opened this issue Aug 26, 2024 · 1 comment
Open

[Bug report] ML Kit Document Scanner crashes on discard #866

dprasath opened this issue Aug 26, 2024 · 1 comment
Assignees

Comments

@dprasath
Copy link

Describe the bug
After the implementation, app launching and document scanning working fine . But if discard the scanning by close button app crashes in specific device (Samsung Tab)

To Reproduce
Example Steps to reproduce the behavior in sample app:

  1. Set page limit to any number(sample: 5)
  2. Click on 'Scan'
  3. Click on capture button
  4. Discard scanning by clicking close button
  5. Getting error:
    Failed to handle scanning result java.lang.IllegalStateException: Failed to handle result at com.google.mlkit.vision.documentscanner.internal.zzg.run(com.google.android.gms:play-services-mlkit-document-scanner@@16.0.0-beta1:12) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67)
  6. With this error app crashes

If applicable, please include code snippet and sample input(image, video, text, etc)

Expected behavior
A clear and concise description of what you expected to happen.

SDK Info:

  • 'com.google.android.gms:play-services-mlkit-document-scanner:16.0.0-beta1'

Smartphone:

  • Device/Simulator: Samsung Galaxy Tab A
  • Device/Simulator OS: Android 11 API 30

Development Environment:
(For Android issue feel free to skip this section)

  • IDE Eversion: [e.g. Xcode 13.1, Android Studio 4.2]
  • Laptop/Desktop: [e.g. iMac Pro (2017), HP Z840 Workstation]
  • Laptop/Desktop OS/version: [e.g. macOS 12.0.1]
@AntimKhel
Copy link

Same for me.
Android 14
Pixel 6

@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants
@dprasath @AntimKhel @avivadla8 and others