Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using ListStyleType #651

Closed
DFelten opened this issue May 1, 2021 · 1 comment · Fixed by #652
Closed

Exception when using ListStyleType #651

DFelten opened this issue May 1, 2021 · 1 comment · Fixed by #652

Comments

@DFelten
Copy link
Contributor

DFelten commented May 1, 2021

I am not sure if we are using ListStyleType correctly, however there is an exception when using the following code:

const String test = '''
  <ul class="test">
<li>First</li>
<li>Second</li>
</ul>
''';

return Html(
  data: test,
  style: {
    '.test': Style(
      listStyleType: ListStyleType.DECIMAL,
    ),
  },
);

image

The full exception:
Performing hot reload...
Syncing files to device iPhone 11 Pro...
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following StateError was thrown building HtmlParser(dirty, dependencies: [_InheritedTheme,
flutter: _LocalizationsScope-[GlobalKey#b3a97], MediaQuery]):
flutter: Bad state: No element
flutter:
flutter: The relevant error-causing widget was:
flutter:   Html
flutter:   file:///Users/daniel/Projekte/TMX/China-Gadgets/tmx_framework/packages/core/lib/src/features/html/widgets/tmx_html.dart:49:12
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      ListQueue.last (dart:collection/queue.dart:623:25)
flutter: #1      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:530:19)
flutter: #2      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
flutter: #3      List.forEach (dart:core-patch/growable_array.dart:403:8)
flutter: #4      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
flutter: #5      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
flutter: #6      List.forEach (dart:core-patch/growable_array.dart:403:8)
flutter: #7      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
flutter: #8      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
flutter: #9      List.forEach (dart:core-patch/growable_array.dart:403:8)
flutter: #10     HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
flutter: #11     HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
flutter: #12     List.forEach (dart:core-patch/growable_array.dart:403:8)
flutter: #13     HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
flutter: #14     HtmlParser._processListCharacters (package:flutter_html/html_parser.dart:514:12)
flutter: #15     HtmlParser.cleanTree (package:flutter_html/html_parser.dart:228:12)
flutter: #16     HtmlParser.build (package:flutter_html/html_parser.dart:74:33)
flutter: #17     StatelessElement.build (package:flutter/src/widgets/framework.dart:4569:28)
flutter: #18     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4495:15)
flutter: #19     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #20     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #21     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #22     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #23     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #25     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #26     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #27     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #28     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #29     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #30     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #31     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #33     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #34     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #35     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #37     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #38     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #39     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #40     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #41     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #42     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #43     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #44     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #45     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #46     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #47     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #48     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #49     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #50     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #51     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #52     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #53     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #54     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #55     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #56     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #57     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #59     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #60     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #61     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #62     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #63     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #64     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #65     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #66     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #68     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #69     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #70     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #71     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #72     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #73     ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #74     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #75     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #76     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #77     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #78     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #79     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #81     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #82     StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #83     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #84     SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1229:37)
flutter: #85     SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:1145:35)
flutter: #86     Iterable.forEach (dart:core/iterable.dart:257:30)
flutter: #87     SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:1187:24)
flutter: #88     SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:1124:7)
flutter: #89     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #90     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #91     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #92     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #93     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #94     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #95     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #96     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #97     Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #98     StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #99     Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #100    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #101    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #102    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #103    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #104    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #105    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #106    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #107    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #108    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #109    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #110    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #111    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #112    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #113    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #114    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #115    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #116    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #117    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #118    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #119    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #120    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #121    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #122    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #123    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #124    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
flutter: #125    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
flutter: #126    _ViewportElement.update (package:flutter/src/widgets/viewport.dart:228:11)
flutter: #127    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #128    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #129    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #130    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #131    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #132    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #133    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #134    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #135    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #136    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #137    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #138    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: ----------------FIREBASE CRASHLYTICS----------------
flutter: The following exception was thrown building HtmlParser(dirty, dependencies: [_InheritedTheme, _LocalizationsScope-[GlobalKey#b3a97], MediaQuery]):
flutter: Bad state: No element
flutter: 
debugCreator: HtmlParser ← ConstrainedBox ← Container ← Html ← TMXHtml ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#5742b ink renderer] ← NotificationListener<LayoutChangedNotification> ← PhysicalModel ← AnimatedPhysicalModel ← Material ← ⋯
flutter: 
#0      ListQueue.last (dart:collection/queue.dart:623:25)
#1      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:530:19)
#2      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
#3      List.forEach (dart:core-patch/growable_array.dart:403:8)
#4      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
#5      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
#6      List.forEach (dart:core-patch/growable_array.dart:403:8)
#7      HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)
#8      HtmlParser._processListCharactersRecursive.<anonymous closure> (package:flutter_html/html_parser.dart:536:34)
#9      List.forEach (dart:core-patch/growable_array.dart:403:8)
#10     HtmlParser._processListCharactersRecursive (package:flutter_html/html_parser.dart:536:19)<…>
flutter: ----------------------------------------------------
Reloaded 265 of 2400 libraries in 2.070ms.
flutter: #139    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #140    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #141    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #142    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #143    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #144    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #145    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #146    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #147    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #148    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #149    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #150    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #151    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #152    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #153    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #154    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #155    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #156    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #157    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #158    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #159    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #160    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #161    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #162    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
flutter: #163    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
flutter: #164    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #165    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
flutter: #166    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
flutter: #167    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #168    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #169    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #170    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #171    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #172    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #173    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #174    _InheritedProviderScopeElement.performRebuild (package:provider/src/inherited_provider.dart:456:11)
flutter: #175    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #176    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #177    _InheritedProviderScopeElement.update (package:provider/src/inherited_provider.dart:477:11)
flutter: #178    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #179    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #180    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #181    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #182    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #183    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #184    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #185    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #186    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #187    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #188    _InheritedProviderScopeElement.performRebuild (package:provider/src/inherited_provider.dart:456:11)
flutter: #189    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #190    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #191    _InheritedProviderScopeElement.update (package:provider/src/inherited_provider.dart:477:11)
flutter: #192    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #193    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #194    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #195    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #196    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #197    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #198    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #199    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #200    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #201    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #202    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #203    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #204    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #205    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #206    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #207    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #208    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #209    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #210    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #211    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #212    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #213    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #214    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #215    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #216    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #217    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #218    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #219    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #220    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #221    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #222    SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1229:37)
flutter: #223    SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:1145:35)
flutter: #224    Iterable.forEach (dart:core/iterable.dart:257:30)
flutter: #225    SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:1187:24)
flutter: #226    SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:1124:7)
flutter: #227    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #228    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #229    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #230    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #231    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #232    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #233    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #234    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
flutter: #235    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
flutter: #236    _ViewportElement.update (package:flutter/src/widgets/viewport.dart:228:11)
flutter: #237    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #238    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #239    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #240    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #241    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #242    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #243    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #244    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #245    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #246    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #247    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #248    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #249    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #250    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #251    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #252    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #253    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #254    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #255    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #256    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #257    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #258    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #259    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #260    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #261    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #262    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #263    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #264    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #265    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #266    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #267    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #268    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #269    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #270    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #271    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #272    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #273    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #274    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #275    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #276    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #277    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #278    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #279    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #280    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #281    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #282    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #283    ProxyElement.update (package:flutter/src/widgets/framework.dart:4843:5)
flutter: #284    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #285    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #286    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #287    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #288    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #289    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #290    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #291    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #292    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #293    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #294    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #295    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5503:32)
flutter: #296    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6105:17)
flutter: #297    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #298    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5981:14)
flutter: #299    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #300    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #301    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)
flutter: #302    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #303    StatefulElement.update (package:flutter/src/widgets/framework.dart:4699:5)
flutter: #304    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #305    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #306    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #307    StatelessElement.update (package:flutter/src/widgets/framework.dart:4576:5)
flutter: #308    Element.updateChild (package:flutter/src/widgets/framework.dart:3293:15)
flutter: #309    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4520:16)
flutter: #310    Element.rebuild (package:flutter/src/widgets/framework.dart:4189:5)
flutter: #311    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2694:33)
flutter: #312    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:873:21)
flutter: #313    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:319:5)
flutter: #314    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
flutter: #315    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
flutter: #316    SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:865:7)
flutter: (elided 4 frames from class _RawReceivePortImpl, class _Timer, and dart:async-patch)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

We're currently using this commit: 4b153dd

@tneotia
Copy link
Collaborator

tneotia commented May 1, 2021

Fixed above. Only happens when setting a ul to an ol type because we didn't generate a variable to keep track of the ol list numbers. Now we check to make sure a variable is generated otherwise we make one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants