🐛 Bug Report
In my app, Im having a ListView which shows the users like in contacts app, sometimes its throws FileSystemException: Cannot open file.
════════ Exception caught by image resource service ════════
The following FileSystemException was thrown resolving an image codec:
Cannot open file, path = '/var/mobile/Containers/Data/Application/
B861D1-3A04-498D-AC67-23E00574DD1C/Library/Caches/
libCachedImageData/fdbf1150-a040-11ea-d6f9-4168d77.bin'
(OS Error: No such file or directory, errno = 2)
When the exception was thrown, this was the stack
#0 _File.open. (dart:io/file_impl.dart:366:9)
(elided 13 frames from dart:async)
Path: /var/mobile/Containers/Data/Application/B861D1-3A04-498D-AC67-23E00574DD1C/Library/Caches/libCachedImageData/fdbf1150-a040-11ea-d6f9-4168d77.bin
Code
ListTile(
leading: CachedNetworkImage(
fadeInDuration: Duration(milliseconds: 100),
fit: BoxFit.cover,
imageUrl: _filteredUser[index].photoUrl,
progressIndicatorBuilder: (context, url, downloadProgress) =>
shimmerImageTile(),
errorWidget: (context, url, error) => _imagePlaceHolder(),
),
title: userName(),
),
Configuration
Version:
cached_network_image: ^2.2.0
Platform:
- [ 🟢] 📱 iOS
- [ 🟢] 🤖 Android
🐛 Bug Report
In my app, Im having a ListView which shows the users like in contacts app, sometimes its throws FileSystemException: Cannot open file.
════════ Exception caught by image resource service ════════
The following FileSystemException was thrown resolving an image codec:
When the exception was thrown, this was the stack
#0 _File.open. (dart:io/file_impl.dart:366:9)
(elided 13 frames from dart:async)
Path: /var/mobile/Containers/Data/Application/B861D1-3A04-498D-AC67-23E00574DD1C/Library/Caches/libCachedImageData/fdbf1150-a040-11ea-d6f9-4168d77.bin
Code
Configuration
Version:
cached_network_image: ^2.2.0Platform: