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

Bad State error at App Start (Debug Mode) #52

Closed
dhruvd0 opened this issue Apr 8, 2021 · 0 comments
Closed

Bad State error at App Start (Debug Mode) #52

dhruvd0 opened this issue Apr 8, 2021 · 0 comments

Comments

@dhruvd0
Copy link

dhruvd0 commented Apr 8, 2021

Exception

════════ Exception caught by image resource service ════════════════════════════
The following StateError was thrown resolving an image codec:
Bad state: LocalFile: '/data/user/0/dev.jideguru.flutterEbookApp/cache/libCachedImageData/cc2e83c0-97b4-11eb-8bde-e13ae502a789.jpg' is empty and cannot be loaded as an image.

When the exception was thrown, this was the stack
#0 FileImage._loadAsync
package:flutter/…/painting/image_provider.dart:887

Path: /data/user/0/dev.jideguru.flutterEbookApp/cache/libCachedImageData/cc2e83c0-97b4-11eb-8bde-e13ae502a789.jpg

Stack trace

none, the Exception object had a _stacktrace value of null.

Device

Android 10
SDK built for x86

Reproduce

Run App in debug mode.

Remarks

All Images are loaded successfully but I'm not sure all are loaded from cache.

@JideGuru JideGuru closed this as completed Jun 4, 2023
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

2 participants