BlueBubblesApp / bluebubbles-app

A cross-platform app ecosystem, bringing iMessage to Android, PC (Windows, Linux, & even macOS), and Web!
https://bluebubbles.app
Apache License 2.0
753 stars 104 forks source link

Unexpected Error Occurred when creating a new chat #2669

Closed zlshames closed 9 months ago

zlshames commented 9 months ago

Symptom: Grey box over one contact when in the new chat creator

[BlueBubblesApp][2024-02-08 13:07:07.664370][DEBUG] Setting all chats to inactive
[BlueBubblesApp][2024-02-08 13:07:07.666514][ERROR] Bad state: No element
[BlueBubblesApp][2024-02-08 13:07:07.667103][ERROR] Stacktrace: #0      List.first (dart:core-patch/growable_array.dart:343)
#1      ChatCreatorState.build.<anonymous closure>.<anonymous closure> (package:bluebubbles/app/layouts/chat_creator/chat_creator.dart:570)
#2      SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490)
#3      SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:829)
#4      SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:759)
#5      Iterable.forEach (dart:core/iterable.dart:347)
#6      SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:806)
#7      SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:735)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#9      Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#12     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#13     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#14     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#16     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#19     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#21     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#22     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#23     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#24     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#25     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#26     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#28     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#29     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#30     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#31     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#32     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#34     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#35     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#36     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#37     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#38     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#39     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#40     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#42     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#43     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#44     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#45     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#47     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#48     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#49     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#51     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#52     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#53     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#54     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#57     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#58     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#59     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#61     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#62     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#63     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#65     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#66     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#67     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#68     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#69     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#70     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#71     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#72     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#73     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#74     Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#75     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#76     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#77     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#78     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#79     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#80     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#81     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#82     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#83     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#84     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#85     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#86     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#87     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#88     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#89     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#90     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#91     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#92     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#93     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#94     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#95     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#96     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#97     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#98     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#99     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#100    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#101    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#102    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#103    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#104    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#105    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#106    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#107    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#108    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#109    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#110    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#111    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#112    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#113    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#114    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#115    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#116    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#117    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#118    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#119    Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#120    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#121    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#122    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#123    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#124    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#125    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:105)
#126    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#127    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#128    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#129    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#130    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#131    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#132    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#133    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#134    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#135    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#136    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#137    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#138    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#139    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#140    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#141    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#142    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#143    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#144    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#145    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#146    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#147    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#148    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#149    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#150    Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#151    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#152    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#153    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#154    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#155    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#156    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#157    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#158    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#159    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#160    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#161    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#162    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#163    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#164    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#165    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#166    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#167    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#168    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#169    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#170    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#171    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#172    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#173    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#174    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#175    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#176    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#177    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#178    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#179    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#180    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#181    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#182    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#183    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#184    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#185    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#186    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#187    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#188    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#189    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#190    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#191    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#192    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#193    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#194    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#195    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#196    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#197    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#198    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#199    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#200    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#201    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#202    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#203    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#204    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#205    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#206    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#207    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#208    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#209    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#210    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#211    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#212    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#213    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#214    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#215    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#216    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#217    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#218    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#219    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#220    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#221    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#222    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#223    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#224    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#225    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2895)
#226    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:984)
#227    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457)
#228    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325)
#229    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255)
#230    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113)
#231    _invoke (dart:ui/hooks.dart:312)
#232    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383)
#233    _drawFrame (dart:ui/hooks.dart:283)

[BlueBubblesApp][2024-02-08 13:07:07.686302][DEBUG] Setting all chats to inactive
[BlueBubblesApp][2024-02-08 13:07:07.687565][ERROR] Bad state: No element
[BlueBubblesApp][2024-02-08 13:07:07.687719][ERROR] Stacktrace: #0      List.first (dart:core-patch/growable_array.dart:343)
#1      ChatCreatorState.build.<anonymous closure>.<anonymous closure> (package:bluebubbles/app/layouts/chat_creator/chat_creator.dart:570)
#2      SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490)
#3      SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:829)
#4      SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:759)
#5      Iterable.forEach (dart:core/iterable.dart:347)
#6      SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:806)
#7      SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:735)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#9      Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#12     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#13     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#14     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#16     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#19     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#21     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#22     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#23     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#24     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#25     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#26     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#28     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#29     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#30     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#31     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#32     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#34     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#35     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#36     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#37     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#38     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#39     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#40     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#42     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#43     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#44     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#45     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#47     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#48     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#49     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#51     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#52     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#53     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#54     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#57     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#58     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#59     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#61     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#62     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#63     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#65     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#66     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#67     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#68     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#69     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#70     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#71     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#72     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#73     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#74     Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#75     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#76     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#77     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#78     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#79     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#80     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#81     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#82     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#83     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#84     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#85     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2895)
#86     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:984)
#87     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457)
#88     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325)
#89     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255)
#90     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113)
#91     _invoke (dart:ui/hooks.dart:312)
#92     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383)
#93     _drawFrame (dart:ui/hooks.dart:283)

[BlueBubblesApp][2024-02-08 13:07:15.408966][ERROR] Bad state: No element
[BlueBubblesApp][2024-02-08 13:07:15.409278][ERROR] Stacktrace: #0      List.first (dart:core-patch/growable_array.dart:343)
#1      ChatCreatorState.build.<anonymous closure>.<anonymous closure> (package:bluebubbles/app/layouts/chat_creator/chat_creator.dart:570)
#2      SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490)
#3      SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:829)
#4      SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:759)
#5      Iterable.forEach (dart:core/iterable.dart:347)
#6      SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:806)
#7      SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:735)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#9      Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#12     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#13     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#14     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#16     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#19     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#21     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#22     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#23     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#24     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#25     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#26     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#28     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#29     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#30     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#31     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#32     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#34     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#35     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#36     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#37     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#38     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#39     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#40     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#42     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#43     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#44     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#45     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#47     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#48     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#49     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#51     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#52     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#53     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#54     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#57     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#58     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#59     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#61     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#62     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#63     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#65     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#66     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#67     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#68     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#69     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#70     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#71     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#72     StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#73     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#74     Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#75     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#76     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#77     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#78     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#79     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#80     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#81     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#82     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#83     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#84     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#85     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#86     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#87     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#88     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#89     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#90     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#91     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#92     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#93     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#94     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#95     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#96     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#97     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#98     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#99     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#100    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#101    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#102    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#103    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#104    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#105    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#106    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#107    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#108    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#109    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#110    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#111    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#112    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#113    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#114    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#115    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#116    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#117    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#118    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#119    Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#120    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#121    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#122    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#123    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#124    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#125    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:105)
#126    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#127    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#128    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#129    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#130    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#131    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#132    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#133    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#134    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#135    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#136    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#137    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#138    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#139    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#140    StatelessElement.update (package:flutter/src/widgets/framework.dart:5547)
#141    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#142    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#143    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#144    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#145    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#146    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#147    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#148    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#149    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#150    Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#151    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#152    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#153    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#154    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#155    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#156    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#157    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#158    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#159    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#160    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#161    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#162    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#163    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#164    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#165    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#166    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#167    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#168    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#169    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#170    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#171    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#172    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#173    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#174    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#175    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#176    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#177    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#178    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#179    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#180    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#181    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#182    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#183    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#184    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#185    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#186    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#187    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#188    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#189    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#190    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#191    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#192    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#193    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#194    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#195    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#196    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#197    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#198    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#199    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#200    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#201    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#202    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#203    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#204    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#205    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#206    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#207    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#208    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#209    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#210    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#211    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#212    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#213    ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#214    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#215    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#216    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#217    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#218    StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#219    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#220    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#221    Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#222    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#223    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#224    Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#225    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2895)
#226    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:984)
#227    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457)
#228    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325)
#229    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255)
#230    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113)
#231    _invoke (dart:ui/hooks.dart:312)
#232    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383)
#233    _drawFrame (dart:ui/hooks.dart:283)

[BlueBubblesApp][2024-02-08 13:07:15.418101][ERROR] Bad state: No element
[BlueBubblesApp][2024-02-08 13:07:15.418380][ERROR] Stacktrace: #0      List.first (dart:core-patch/growable_array.dart:343)
#1      ChatCreatorState.build.<anonymous closure>.<anonymous closure> (package:bluebubbles/app/layouts/chat_creator/chat_creator.dart:570)
#2      SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490)
#3      SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:829)
#4      SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:759)
#5      Iterable.forEach (dart:core/iterable.dart:347)
#6      SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:806)
#7      SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:735)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#9      Element.updateChildren (package:flutter/src/widgets/framework.dart:3964)
#10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#12     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#13     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#14     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#16     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#19     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#21     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634)
#22     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#23     StatefulElement.update (package:flutter/src/widgets/framework.dart:5657)
#24     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#25     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#26     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496)
#28     Element.rebuild (package:flutter/src/widgets/framework.dart:5187)
#29     ProxyElement.update (package:flutter/src/widgets/framework.dart:5800)
#30     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#31     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743)
#32     Element.updateChild (package:flutter/src/widgets/framework.dart:3815)
#33     ComponentElement.performRebuild (package:flut... (658 KB left)
tneotia commented 9 months ago

This is the handle bug where they need to fetch chat details

zlshames commented 9 months ago

Do we know why the handle data is empty though? Shouldn't all the chats have handles? Is the server not supplying them?

Also, failing more gracefully might be good