E/AndroidRuntime(18713): FATAL EXCEPTION: Thread-13
E/AndroidRuntime(18713): Process: com.csi.sellon, PID: 18713
E/AndroidRuntime(18713): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin.createVideoThumb(ImagesPickerPlugin.java:298)
E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin.access$000(ImagesPickerPlugin.java:66)
E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin$1$1.run(ImagesPickerPlugin.java:264)
Running Gradle task 'assembleDebug'...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3.1 21E258
darwin-x64, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android
SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
E/AndroidRuntime(18713): FATAL EXCEPTION: Thread-13 E/AndroidRuntime(18713): Process: com.csi.sellon, PID: 18713 E/AndroidRuntime(18713): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin.createVideoThumb(ImagesPickerPlugin.java:298) E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin.access$000(ImagesPickerPlugin.java:66) E/AndroidRuntime(18713): at com.chavesgu.images_picker.ImagesPickerPlugin$1$1.run(ImagesPickerPlugin.java:264) Running Gradle task 'assembleDebug'...
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.10.4, on macOS 12.3.1 21E258 darwin-x64, locale en-SG) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2020.3) [✓] Connected device (3 available) [✓] HTTP Host Availability
I use images_picker 1.2.11
just pick from gallery then its force close