flutter - Where should I look for assertion fail on `'_semantics != null': is not true.` -


what issue when flutter app cause following assertion fail. offending widget not showing in ui.

══╡ exception caught rendering library ╞═════ following assertion thrown during _updatesemantics(): 'package:flutter/src/rendering/object.dart': failed assertion: line 2677 pos 14: '_semantics != null': not true. either assertion indicates error in framework itself, or should provide substantially more information in error message determine , fix underlying cause. in either case, please report assertion filing bug on github: https://github.com/flutter/flutter/issues/new when exception thrown, stack: #2      renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2677:14) #3      renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #4      renderbox&containerrenderobjectmixin.visitchildren (package:flutter/src/rendering/object.dart:3246:14) #5      renderobject.visitchildrenforsemantics (package:flutter/src/rendering/object.dart:2736:5) #6      renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #7      renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #8      renderbox&renderobjectwithchildmixin.visitchildren (package:flutter/src/rendering/object.dart:2970:14) #9      renderobject.visitchildrenforsemantics (package:flutter/src/rendering/object.dart:2736:5) #10     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #11     renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #12     renderslivermultiboxadaptor.visitchildrenforsemantics.<anonymous closure> (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:300:20) #13     rendersliver&containerrenderobjectmixin.visitchildren (package:flutter/src/rendering/object.dart:3246:14) #14     renderslivermultiboxadaptor.visitchildren (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:283:24) #15     renderobject.visitchildrenforsemantics (package:flutter/src/rendering/object.dart:2736:5) #16     renderslivermultiboxadaptor.visitchildrenforsemantics (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:292:40) #17     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #18     renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #19     renderviewportbase.visitchildrenforsemantics (package:flutter/src/rendering/viewport.dart:102:16) #20     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #21     renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #22     renderignorepointer.visitchildrenforsemantics (package:flutter/src/rendering/proxy_box.dart:2629:14) #23     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #24     renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #25     renderbox&renderobjectwithchildmixin.visitchildren (package:flutter/src/rendering/object.dart:2970:14) #26     renderobject.visitchildrenforsemantics (package:flutter/src/rendering/object.dart:2736:5) #27     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #28     renderobject._getsemanticsfragment.<anonymous closure> (package:flutter/src/rendering/object.dart:2690:49) #29     renderbox&renderobjectwithchildmixin.visitchildren (package:flutter/src/rendering/object.dart:2970:14) #30     renderobject.visitchildrenforsemantics (package:flutter/src/rendering/object.dart:2736:5) #31     renderobject._getsemanticsfragment (package:flutter/src/rendering/object.dart:2682:5) #32     renderobject._updatesemantics (package:flutter/src/rendering/object.dart:2658:43) #33     pipelineowner.flushsemantics (package:flutter/src/rendering/object.dart:1238:16) #34     bindingbase&schedulerbinding&gesturebinding&servicesbinding&rendererbinding.drawframe (package:flutter/src/rendering/binding.dart:260:19) #35     bindingbase&schedulerbinding&gesturebinding&servicesbinding&rendererbinding&widgetsbinding.drawframe (package:flutter/src/widgets/binding.dart:531:22) #36     bindingbase&schedulerbinding&gesturebinding&servicesbinding&rendererbinding._handlepersistentframecallback (package:flutter/src/rendering/binding.dart:194:5) #37     bindingbase&schedulerbinding._invokeframecallback (package:flutter/src/scheduler/binding.dart:713:15) #38     bindingbase&schedulerbinding.handledrawframe (package:flutter/src/scheduler/binding.dart:649:9) #39     _invoke (file:///b/build/slave/mac_engine/build/src/flutter/lib/ui/hooks.dart:86) #40     _drawframe (file:///b/build/slave/mac_engine/build/src/flutter/lib/ui/hooks.dart:75) (elided 2 frames class _assertionerror) following renderobject being processed when exception fired: rendersemanticsgesturehandler#6924d relayoutboundary=up1 creator: _gesturesemantics ← rawgesturedetector-[labeledglobalkey<rawgesturedetectorstate>#9e671] ← scrollable ← primaryscrollcontroller ← listview-[<'contacts'>] ← recordlist-[recordquery#194f2] ← layoutid-[<_scaffoldslot.body>] ← custommultichildlayout ← defaulttextstyle ← animateddefaulttextstyle ← _inkfeatures-[globalkey#55c15 ink renderer] ← notificationlistener<layoutchangednotification> ← ⋯ parentdata: offset=offset(0.0, 76.0); id=_scaffoldslot.body (can use size) constraints: boxconstraints(0.0<=w<=414.0, 0.0<=h<=660.0) _semantics: semanticsnode(263 (stale; owner=null); rect.fromltrb(0.0, 76.0, 414.0, 736.0) (clipped); semanticstag(rendersemanticsgesturehandler.twopane)) semantic boundary size: size(414.0, 660.0) gestures: vertical scroll renderobject had following descendants (showing depth 5): renderpointerlistener#a72b1 relayoutboundary=up2   renderignorepointer#212b9 relayoutboundary=up3     renderviewport#e1845       rendersliverfixedextentlist#34cde relayoutboundary=up1         renderrepaintboundary#05d8e         renderrepaintboundary#7376f         renderrepaintboundary#490c8         renderrepaintboundary#33f7d         renderrepaintboundary#fd138         renderrepaintboundary#7c0bf         renderrepaintboundary#69517         renderrepaintboundary#9985f         renderrepaintboundary#be15f ══════════════════════════════════ 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -