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.nativecamera.RNCameraView.fillResults #64

Closed albullington closed 3 years ago

albullington commented 3 years ago
java.lang.RuntimeException: 
  at android.os.AsyncTask$3.done (AsyncTask.java:355)
  at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
  at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
  at java.util.concurrent.FutureTask.run (FutureTask.java:271)
  at java.util.concurrent.ThreadPoolExecutor.processTask (ThreadPoolExecutor.java:1187)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:784)
Caused by: java.lang.NullPointerException: 
  at org.inaturalist.inatcamera.nativecamera.RNCameraView.fillResults (RNCameraView.java:692)
  at org.inaturalist.inatcamera.nativecamera.ResolveTakenPictureAsyncTask.doInBackground (ResolveTakenPictureAsyncTask.java:257)
  at org.inaturalist.inatcamera.nativecamera.ResolveTakenPictureAsyncTask.doInBackground (ResolveTakenPictureAsyncTask.java:31)
  at android.os.AsyncTask$2.call (AsyncTask.java:334)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)