Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by unipheye
, 1 year ago
via GitHub by rafaelcorreiapoli
, 1 year ago
Camera is being used after Camera.release() was called
via GitHub by sheng930920
, 2 months ago
Camera is being used after Camera.release() was called
java.lang.RuntimeException: Camera is being used after Camera.release() was called	at android.hardware.Camera.native_cancelAutoFocus(Native Method)	at android.hardware.Camera.cancelAutoFocus(Camera.java:1348)	at com.eguma.barcodescanner.CameraPreview.stopCameraPreview(CameraPreview.java:89)	at com.eguma.barcodescanner.CameraPreview.stopCamera(CameraPreview.java:52)	at com.eguma.barcodescanner.BarcodeScannerView.onPause(BarcodeScannerView.java:43)	at com.eguma.barcodescanner.BarcodeScannerManager.onHostPause(BarcodeScannerManager.java:58)	at com.facebook.react.bridge.ReactContext.onHostPause(ReactContext.java:179)	at com.facebook.react.XReactInstanceManagerImpl.moveToBeforeResumeLifecycleState(XReactInstanceManagerImpl.java:573)	at com.facebook.react.XReactInstanceManagerImpl.onHostPause(XReactInstanceManagerImpl.java:489)	at com.facebook.react.ReactActivity.onPause(ReactActivity.java:120)	at android.app.Activity.performPause(Activity.java:6765)	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1338)	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4418)	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4391)	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4366)	at android.app.ActivityThread.access$1200(ActivityThread.java:219)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1746)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:145)	at android.app.ActivityThread.main(ActivityThread.java:6939)	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:1404)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)