[flutter_svg] Bad state: A Dart object attempted to access a native peer, but the native peer has been collected (nullptr). This is usually the result of calling methods on a native-backed object when the native resources have already been disposed. #158814
Labels
p: flutter_svg
The Flutter SVG drawing packages
package
flutter/packages repository. See also p: labels.
Imported from dnfield/flutter_svg#1062
Original report by @bojianyin on May 14, 2024
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: A Dart object attempted to access a native peer, but the native peer has been collected (nullptr). This is usually the result of calling methods on a native-backed object when the native resources have already been disposed.
E/flutter ( 7816): #0 StateError._throwNew (dart:core-patch/errors_patch.dart:135:5)
E/flutter ( 7816): #1 _NativeCanvas._drawImage (dart:ui/painting.dart)
E/flutter ( 7816): #2 _NativeCanvas.drawImage (dart:ui/painting.dart:6014:27)
E/flutter ( 7816): #3 SliderPainter._drawThumbNodes (package:lib_kit/widgets/slider/slider_painter.dart:73:12)
E/flutter ( 7816):
The text was updated successfully, but these errors were encountered: