chat-uikit-flutter
chat-uikit-flutter copied to clipboard
RangeError (end): Invalid value: Only valid value is 0: -1
I/imsdk (29858): TIM: |-im_engine_impl.cpp:2299 SetDraftMessage |conversation_key:c2c_2|edit_time:0|custom_info: I/System.out(29858): removeGroupListener current message listener size id2 I/System.out(29858): removeGroupListener current message listener size id2 E/gralloc4(29858): Empty SMPTE 2094-40 data
======== Exception caught by widgets library ======================================================= The following RangeError was thrown while finalizing the widget tree: RangeError (end): Invalid value: Only valid value is 0: -1
When the exception was thrown, this was the stack:
#0 RangeError.checkValidRange (dart:core/errors.dart:365:9)
#1 List.sublist (dart:core-patch/growable_array.dart:84:38)
#2 TUIChatGlobalModel.clearCurrentConversation (package:tencent_cloud_chat_uikit/business_logic/view_models/tui_chat_global_model.dart:200:89)
#3 TUIChatSeparateViewModel.dispose (package:tencent_cloud_chat_uikit/business_logic/separate_models/tui_chat_separate_view_model.dart:1578:17)
#4 _TUIChatState.dispose (package:tencent_cloud_chat_uikit/ui/views/TIMUIKitChat/tim_uikit_chat.dart:259:11)
#5 StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5696:11)
#6 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:2077:13)
#7 _InactiveElements._unmount.