flutter_cached_network_image
flutter_cached_network_image copied to clipboard
Null check operator used on a null value
🐛 Bug Report
app crash stack info
Flutter Exception
Null check operator used on a null value
#0 MultiImageStreamCompleter._handleAppFrame (package:cached_network_image/src/image_provider/multi_image_stream_completer.dart:91)
flutter doctor
Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H524 darwin-x64, locale zh-Hans-CN)
plaform
android
i find the source code below , maybe the _nextFrame will be null
_emitFrame(ImageInfo(image: _nextFrame!.image, scale: _scale));
@zhancheng do you have a reproducible example? The _nextFrame should not be null here. We can easily add a null check, but I guess that will still have a bug somehow.
@renefloor
try this .
http://dl5.weshineapp.com/300/3de6b94c5fbe855e562be53f16f7f448.webp?v=60640903e7912
http://dl5.weshineapp.com/300/e008acbadfa5177a567fe3a5c97c52b4.webp?v=605ad5625854f
I also encountered this problem.
I also have this problem.
also have this problem.
3.2.0, also have this problem.
Same problem