inaturalist / react-native-inat-camera

React Native package that provides a camera with optional species recognition.
MIT License
10 stars 6 forks source link

java.lang.NullPointerException org.inaturalist.inatcamera.ui.Camera2.captureStillPicture #61

Closed albullington closed 3 years ago

albullington commented 3 years ago
java.lang.NullPointerException: 
  at org.inaturalist.inatcamera.ui.Camera2.captureStillPicture (Camera2.java:1497)
  at org.inaturalist.inatcamera.ui.Camera2$3.onReady (Camera2.java:202)
  at org.inaturalist.inatcamera.ui.Camera2$PictureCaptureCallback.process (Camera2.java:1746)
  at org.inaturalist.inatcamera.ui.Camera2$PictureCaptureCallback.onCaptureCompleted (Camera2.java:1699)
  at java.lang.reflect.Method.invoke (Native Method)
  at android.hardware.camera2.dispatch.InvokeDispatcher.dispatch (InvokeDispatcher.java:39)
  at android.hardware.camera2.dispatch.HandlerDispatcher$1.run (HandlerDispatcher.java:65)
  at android.os.Handler.handleCallback (Handler.java:789)
  at android.os.Handler.dispatchMessage (Handler.java:98)
  at android.os.Looper.loop (Looper.java:164)
  at android.os.HandlerThread.run (HandlerThread.java:65)