googlearchive/android-Camera2Video

NPE on StartPreview after stopRecording

Closed this issue · 1 comments

java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.camera2.CaptureRequest$Builder android.hardware.camera2.CameraDevice.createCaptureRequest(int)' on a null object reference
at camera2.Camera2Fragment.startPreview(Camera2Fragment.java:1093)
at camera2.Camera2Fragment.stopRecordingVideo(Camera2Fragment.java:1270)

This sample has been migrated to a new location (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!