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

App crash if image url is not valid and returns 404 on browser #245

Closed
achalkias opened this issue Sep 21, 2019 · 2 comments
Closed

App crash if image url is not valid and returns 404 on browser #245

achalkias opened this issue Sep 21, 2019 · 2 comments

Comments

@achalkias
Copy link

WebHelper._downloadRemoteFile. (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-1.1.1/lib/src/web_helper.dart:70)
(Unknown Source:0)
new Future.sync (dart:async/future.dart:224)
WebHelper._downloadRemoteFile (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-1.1.1/lib/src/web_helper.dart:49)
(Unknown Source:0)
WebHelper.downloadFile (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-1.1.1/lib/src/web_helper.dart:33)
(Unknown Source:0)
BaseCacheManager.getFile (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-1.1.1/lib/src/cache_manager.dart:114)
(Unknown Source:0)
BaseCacheManager.getFile (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-1.1.1/lib/src/cache_manager.dart:0)
CachedNetworkImageState._animatedWidget (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.1/lib/src/cached_image_widget.dart:270)
CachedNetworkImageState.build (/Users/apostoloschalkias/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.1/lib/src/cached_image_widget.dart:196)
StatefulElement.build (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:4047)
ComponentElement.performRebuild (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:3941)
Element.rebuild (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:3738)
ComponentElement._firstBuild (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:3924)
StatefulElement._firstBuild (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:4088)
ComponentElement.mount (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:3919)
Element.inflateWidget (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:3101)
MultiChildRenderObjectElement.mount (/Users/apostoloschalkias/development/flutter/packages/flutter/lib/src/widgets/framework.dart:5233)

@pdefuns
Copy link

pdefuns commented Oct 4, 2019

Facing the same issue with statusCode 404

Same as #242

@renefloor
Copy link
Contributor

grouping this in #273

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

3 participants