[Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other] Syncon:
Camera app keeps stopping

When I try to use the camera, it closes with the error "Camera keeps stopping"

Tried to reset the settings, clear the application data, did not help

Log:

06-15 10:48:03.861 7358 9157 E BoostFramework: Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
06-15 10:48:03.905 7358 9157 E BoostFramework: BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.qti.Performance" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib64, /vendor/lib64]]
06-15 10:48:03.906 7358 9157 E BoostFramework: Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
06-15 10:48:04.288 9554 9580 E CameraHolder: fail to connect Camera:-1, aborting.
06-15 10:48:04.288 9554 9580 E CAM_PhotoModule: Failed to open camera:0
06-15 10:48:04.314 9554 9554 E AndroidRuntime: FATAL EXCEPTION: main
06-15 10:48:04.314 9554 9554 E AndroidRuntime: Process: org.lineageos.snap, PID: 9554
06-15 10:48:04.314 9554 9554 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {org.lineageos.snap/com.android.camera.CameraLauncher}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3582)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3622)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2863)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.-wrap11(Unknown Source:0)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:164)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6499)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-15 10:48:04.314 9554 9554 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at com.android.camera.PhotoModule.initializeFocusManager(PhotoModule.java:2973)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at com.android.camera.PhotoModule.onResumeBeforeSuper(PhotoModule.java:2747)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at com.android.camera.CameraActivity.onResume(CameraActivity.java:1848)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.Activity.performResume(Activity.java:7162)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3557)
06-15 10:48:04.314 9554 9554 E AndroidRuntime:	... 10 more
06-15 10:48:04.348 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)
06-15 10:48:04.364 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)
06-15 10:48:04.381 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)
06-15 10:48:04.398 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)
06-15 10:48:04.414 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)
06-15 10:48:04.431 478 478 E HWComposer: presentAndGetReleaseFences: failed for display 0: NotValidated (7)

How to fix?