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

ScanPresenter.shut. java.lang.RuntimeException - autoFocus failed #171

Open
sagar-doshaheen opened this issue Feb 1, 2024 · 0 comments
Open

Comments

@sagar-doshaheen
Copy link

sagar-doshaheen commented Feb 1, 2024

Hello @sawankumarbundelkhandi, a crash was recorded in Firebase Crashlytics. Can you please help mw understand this bug?

Fatal Exception: java.lang.RuntimeException: autoFocus failed
       at android.hardware.Camera.native_autoFocus(Camera.java)
       at android.hardware.Camera.autoFocus(Camera.java:1331)
       at com.sample.edgedetection.scan.ScanPresenter.shut(ScanPresenter.java:36)
       at com.sample.edgedetection.scan.ScanActivity.prepare$lambda-0(ScanActivity.java:31)
       at android.view.View.performClick(View.java:7792)
       at android.view.View.performClickInternal(View.java:7769)
       at android.view.View.access$3800(View.java:910)
       at android.view.View$PerformClick.run(View.java:30218)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Device Details:

Device
Brand:Samsung
Model:Galaxy A21s
Orientation:Portrait
RAM free: 2.1 GB
Disk free: 17.13 GB

OS Details:

Operating System
Version:Android 12
Orientation:Portrait
Rooted:No

Recorded on:
Date:Feb 1, 2024, 10:07:29 AM

Package Version:

edge_detection: ^1.1.3
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

1 participant