sceneform-android icon indicating copy to clipboard operation
sceneform-android copied to clipboard

android.hardware.camera2.CameraAccessException

Open chenleicrm opened this issue 3 years ago • 1 comments

CameraCaptureSession: Session 0: Exception while stopping repeating: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): cancelRequest:474: Camera 0: Error clearing streaming request: Function not implemented (-38) at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1039) at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:99) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1251) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:578) at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:789) at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:245) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:268) at android.os.HandlerThread.run(HandlerThread.java:67) Caused by: android.os.ServiceSpecificException: cancelRequest:474: Camera 0: Error clearing streaming request: Function not implemented (-38) (code 10) at android.os.Parcel.createExceptionOrNull(Parcel.java:2387) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.os.Parcel.readException(Parcel.java:2282) at android.hardware.camera2.ICameraDeviceUser$Stub$Proxy.cancelRequest(ICameraDeviceUser.java:732) at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:97) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1251)  at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:578)  at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:789)  at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:245)  at android.os.Handler.handleCallback(Handler.java:938)  at android.os.Handler.dispatchMessage(Handler.java:99)  at android.os.Looper.loop(Looper.java:268)  at android.os.HandlerThread.run(HandlerThread.java:67) 

chenleicrm avatar Mar 03 '22 08:03 chenleicrm

Process: com.gorisse.thomas.sceneform.support.Brain.answerIssue, PID: 328
kotlin.UninitializedPropertyAccessException: lateinit property question.courtesy has not been initialized
at com.gorisse.thomas.sceneform.support.answerIssue(MorningBrain.kt:328)

ThomasGorisse avatar Mar 03 '22 09:03 ThomasGorisse

Hello ,

I am having a similar issue when moving an existing app from the original sceneform to this version. I'm trying to make my augemented image app to work again but i'm getting this error every 5s with a camera freeze. If i could get some help it could be amazing or some idea of what cause this error beceause i'm kinda of lost.

Thanks , Robin

GEnAdInE avatar Jan 12 '23 14:01 GEnAdInE

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 16 '23 05:08 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

github-actions[bot] avatar Aug 23 '23 05:08 github-actions[bot]