FlutterEbookApp icon indicating copy to clipboard operation
FlutterEbookApp copied to clipboard

Bad State error at App Start (Debug Mode)

Open dhruvd0 opened this issue 4 years ago • 0 comments

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.

dhruvd0 avatar Apr 08 '21 07:04 dhruvd0