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

camera crash when start qr code #9

Open
trantrongkim98 opened this issue Feb 10, 2020 · 0 comments
Open

camera crash when start qr code #9

trantrongkim98 opened this issue Feb 10, 2020 · 0 comments

Comments

@trantrongkim98
Copy link

trantrongkim98 commented Feb 10, 2020

when i start some times qrcode then it crash

  • logs
    2020-02-10 16:20:12.787 20904-20904/..** E/AndroidRuntime: FATAL EXCEPTION: main
    Process: ..**, PID: 20904
    java.lang.ArithmeticException: divide by zero
    at com.journeyapps.barcodescanner.CameraPreview.calculateFrames(CameraPreview.java:389)
    at com.journeyapps.barcodescanner.CameraPreview.previewSized(CameraPreview.java:461)
    at com.journeyapps.barcodescanner.CameraPreview.access$300(CameraPreview.java:59)
    at com.journeyapps.barcodescanner.CameraPreview$3.handleMessage(CameraPreview.java:199)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:216)
    at android.app.ActivityThread.main(ActivityThread.java:7300)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:915)
  • devices:
    OPPO Reno Ace - android 9
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