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 Runtime Exception #19

Open
androidqasim opened this issue Apr 20, 2018 · 1 comment
Open

Camera Runtime Exception #19

androidqasim opened this issue Apr 20, 2018 · 1 comment

Comments

@androidqasim
Copy link

I am getting this exception from my Google Developer Console. Is I am the only one who is facing this issue

java.lang.RuntimeException:
at android.hardware.Camera. (Camera.java:584)
at android.hardware.Camera.open (Camera.java:397)
at info.androidhive.barcode.camera.CameraSource.createCamera (CameraSource.java:749)
at info.androidhive.barcode.camera.CameraSource.start (CameraSource.java:378)
at info.androidhive.barcode.camera.CameraSourcePreview.startIfReady (CameraSourcePreview.java:91)
at info.androidhive.barcode.camera.CameraSourcePreview.access$200 (CameraSourcePreview.java:33)
at info.androidhive.barcode.camera.CameraSourcePreview$SurfaceCallback.surfaceCreated (CameraSourcePreview.java:114)
at android.view.SurfaceView.updateWindow (SurfaceView.java:675)
at android.view.SurfaceView$3.onPreDraw (SurfaceView.java:185)
at android.view.ViewTreeObserver.dispatchOnPreDraw (ViewTreeObserver.java:944)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2050)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1117)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6184)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:773)
at android.view.Choreographer.doCallbacks (Choreographer.java:586)
at android.view.Choreographer.doFrame (Choreographer.java:556)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:759)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5421)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:914)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:707)

@jitarun
Copy link

jitarun commented Nov 18, 2019

Im also getting same exception.

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

2 participants