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

No error callback when Could not instantiate image codec. #281

Closed
KingWu opened this issue Oct 30, 2019 · 4 comments
Closed

No error callback when Could not instantiate image codec. #281

KingWu opened this issue Oct 30, 2019 · 4 comments

Comments

@KingWu
Copy link

KingWu commented Oct 30, 2019

I pass a non image url into CachedNetworkImageProvider. The errorListener is not triggered.


The following _Exception was thrown resolving an image codec:
Exception: Could not instantiate image codec.

When the exception was thrown, this was the stack:
#0 _futurize (dart:ui/painting.dart:4134:5)
#1 instantiateImageCodec (dart:ui/painting.dart:1669:10)
#2 CachedNetworkImageProvider._loadAsyncFromFile (package:cached_network_image/src/cached_network_image_provider.dart:89:18)

#3 CachedNetworkImageProvider._loadAsync (package:cached_network_image/src/cached_network_image_provider.dart:75:18)
...

@AresVampire
Copy link

I have the same problem

1 similar comment
@didyqian
Copy link

I have the same problem

@wdlmm
Copy link

wdlmm commented Dec 26, 2019

imageUrl:http://fistchain.org/download/icons/USDT.png
i have the same problem

@renefloor
Copy link
Collaborator

Let's discuss this in #320

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

5 participants