Skip to content
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

Exception: Invalid image data. Error thrown resolving an image codec #920

Open
mdmota opened this issue Jan 23, 2024 · 3 comments
Open

Exception: Invalid image data. Error thrown resolving an image codec #920

mdmota opened this issue Jan 23, 2024 · 3 comments

Comments

@mdmota
Copy link

mdmota commented Jan 23, 2024

flutter 3.16.0
cached_network_image: ^3.3.1

This error has been occurring increasingly in recent days in crashlytics. Can anyone tell me the cause?

ImageLoader.loadImageAsync.
FlutterError - Exception: Invalid image data. Error thrown resolving an image codec.
package:cached_network_image/src/image_provider/_image_loader.dart:68

Fatal Exception: FlutterError
0 ??? 0x0 (null).instantiateImageCodecWithSize (dart:ui)
1 ??? 0x0 PaintingBinding.instantiateImageCodecWithSize + 141 (binding.dart:141)
2 ??? 0x0 ImageLoader.loadImageAsync. + 65 (_image_loader.dart:65)
3 ??? 0x0 ImageLoader._load + 124 (_image_loader.dart:124)
4 ??? 0x0 new MultiImageStreamCompleter. + 26 (multi_image_stream_completer.dart:26)

@ItsYasser
Copy link

Having the same error

1 similar comment
@amd110
Copy link

amd110 commented Apr 18, 2024

Having the same error

@joseluisonelife
Copy link

Same here, any fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants