-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tempImage being null cause a fatal exception #144
Comments
@gmarizy |
It happened in production. Occurrence is not systematic, rather rare in fact. I tried a few things but didn't succeeded to reproduce it. |
@gmarizy |
I use a very UI-tweaked version of Crop (brace yourself):
I don't have the original image sadly; I use this lib to crop images before uploading them to my server. |
@gmarizy Thanks! I'll try to reproduce with this code first. |
@chooyan-eng I found a way to reproduce this error; when I try to crop an image from an .heic source on an Android device, this error is systematic. |
@gmarizy Thanks! I'll try that. |
@chooyan-eng Did you succeed to reproduce the bug with .heic on Android device ? |
@gmarizy same problem occasionally occurs with jpg and png images too |
Version used: 1.0.2.
Stack trace:
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value
#00 pc 0x5d3ffb party.mojito (imageImageParser. [image_image_parser.dart:27]) (BuildId: b866ace14c967e51f7dae5b7c6ff4765)
#1 pc 0x5a10ab party.mojito (_parseFunc [crop.dart:751]) (BuildId: b866ace14c967e51f7dae5b7c6ff4765)
#2 pc 0x5a0f53 party.mojito (_parseFunc [crop.dart:748]) (BuildId: b866ace14c967e51f7dae5b7c6ff4765)
...
The text was updated successfully, but these errors were encountered: