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

The following LateError was thrown building Html(state: _HtmlState#1efc6): LateInitializationError: Field '_currentProperty@1686066930' has not been initialized. #1415

Open
priyankgandhi0 opened this issue Mar 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@priyankgandhi0
Copy link

#0 DeclarationVisitor._currentProperty (package:flutter_html/src/css_parser.dart)
#1 DeclarationVisitor.visitExpressions (package:flutter_html/src/css_parser.dart:739:21)
#2 Visitor.visitMediaExpression (package:csslib/visitor.dart:161:5)
#3 Visitor.visitMediaQuery (package:csslib/visitor.dart:167:7)
#4 MediaQuery.visit (package:csslib/src/tree.dart:734:49)
#5 Visitor._visitNodeList (package:csslib/visitor.dart:127:19)
#6 Visitor.visitMediaDirective (package:csslib/visitor.dart:210:5)
#7 MediaDirective.visit (package:csslib/src/tree.dart:757:49)
#8 DeclarationVisitor.getDeclarations (package:flutter_html/src/css_parser.dart:710:17)
#9 parseExternalCss (package:flutter_html/src/css_parser.dart:689:33)
#10 _HtmlParserState.styleTree (package:flutter_html/src/html_parser.dart:292:9)
#11 _HtmlParserState.prepareTree (package:flutter_html/src/html_parser.dart:166:5)
#12 _HtmlParserState.didChangeDependencies (package:flutter_html/src/html_parser.dart:156:5)
#13 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5629:11)
#14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456:5)
... Normal element mounting (18 frames)
#32 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335:16)
#33 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6893:36)
#34 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6905:32)
#35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335:16)
#36 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6893:36)
#37 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6905:32)
... Normal element mounting (71 frames)
#108 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335:16)
#109 Element.updateChild (package:flutter/src/widgets/framework.dart:3846:18)
#110 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:858:37)
#111 SliverMultiBoxAdaptorElement.createChild. (package:flutter/src/widgets/sliver.dart:843:20)
#112 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2844:19)
#113 SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:835:12)
#114 RenderSliverMultiBoxAdaptor._createOrObtainChild. (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:349:23)
#115 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:2686:59)
#116 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1097:15)
#117 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2686:14)
#118 RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:338:5)
#119 RenderSliverMultiBoxAdaptor.insertAndLayoutChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:486:5)
#120 RenderSliverList.performLayout.advance (package:flutter/src/rendering/sliver_list.dart:239:19)
#121 RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:281:12)
#122 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#123 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:139:12)
#124 RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:361:11)
#125 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#126 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:601:13)
#127 RenderShrinkWrappingViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1926:12)
#128 RenderShrinkWrappingViewport.performLayout (package:flutter/src/rendering/viewport.dart:1877:20)
#129 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#130 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#131 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#132 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#133 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#134 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#135 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#136 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#137 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#138 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#139 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#140 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#141 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#142 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#143 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#144 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#145 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#146 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#147 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#148 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#149 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#150 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#151 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#152 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#153 RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:569:11)
#154 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#155 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#156 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#157 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#158 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#159 ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#160 RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:809:43)
#161 RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:904:32)
#162 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#163 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#164 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:239:12)
#165 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#166 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#167 _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:494:14)
#168 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#169 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#170 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#171 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#172 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#173 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#174 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#175 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#176 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#177 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#178 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#179 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#180 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#181 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#182 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#183 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#184 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#185 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#186 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#187 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#188 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#189 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#190 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#191 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#192 RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:569:11)
#193 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#194 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#195 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:21)
#196 RenderObject.layout (package:flutter/src/rendering/object.dart:2575:7)
#197 RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#198 ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#199 RenderStack._computeSize (package:flutter/src/rendering/stack.dart:582:43)
#200 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:609:12)
#201 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2414:7)
#202 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1051:18)
#203 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1064:15)
#204 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:582:23)
#205 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:991:13)
#206 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:448:5)
#207 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386:15)
#208 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1311:9)
#209 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1169:5)
#210 _invoke (dart:ui/hooks.dart:312:13)
#211 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:399:5)
#212 _drawFrame (dart:ui/hooks.dart:283:31)

@priyankgandhi0 priyankgandhi0 added the bug Something isn't working label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant