Open jsierles opened 7 years ago
Did you manage to resolve it? I'll look into it soon..!
Edit: if you have example code that helps reproduce the issue, it could be helpful.
I found another place where there was a lack of null protection and patched the same way. I'll check to see if we're still getting reports. Thanks!
Sounds great, thanks!
@jsierles do you think this could be related to different exceptions covered in the advanced usage example in the README? The app might crash if you don't cover those use cases properly, which is why the module provides hooks JS-side.
I am also facing the same issue. Just doing null protection is proper for this ? Or any other proper solution?
Thanks for this module, it works really nicely on Android compared to some others!
Running in release mode, I've seen this error report come in.
java.lang.NullPointerException · Attempt to invoke virtual method 'void com.google.android.gms.vision.Detector.release()' on a null object reference
Here's the full stack trace:
Any help is appreciated! I tried adding this code to CameraSource.java line 335, but no luck: