edufolly / flutter_mobile_vision

Flutter implementation of Google Mobile Vision.
MIT License
455 stars 168 forks source link

Nullpointer exception in CameraSource.java #76

Open Huntler opened 2 years ago

Huntler commented 2 years ago

The release()-method in the CameraSource.java file causes a NullPointer exception, becuase the processingThread seems to be null. This should close Issue #71. I referred the direct link below

https://github.com/edufolly/flutter_mobile_vision/blob/7019a96c8ceadfc0772f0671117af3c221d3f9cc/android/src/main/java/io/github/edufolly/fluttermobilevision/ui/CameraSource.java#L1142

harrowmykel commented 2 years ago

This has been fixed here

 https://github.com/harrowmykel/flutter_mobile_vision_2

He also migrated the plugin to non null.

https://pub.dev/packages/flutter_mobile_vision_2