Skip to content

hot load crash with latest versions of VS Code and IntelliJ plugins (track-widget-creation) #20191

@wesleyxiao

Description

@wesleyxiao

everything working fine before vsc upgrage dart to 2.17.0

after it been upgrade when i modify something on code, and cmd + s or refresh, hot load will crash

../../third_party/dart/runtime/vm/object.h: 8847: error: Handle check failed: 
saw Instance of 'HomePage' expected Closure
Dumping native stack trace for thread 5f07
[0x0000000106bcc0d4] dart::Profiler::DumpStackTrace(void*)
[0x0000000106bcc0d4] dart::Profiler::DumpStackTrace(void*)
[0x0000000106e40142] dart::Assert::Fail(char const*, ...)
[0x0000000106c23f3b] dart::DRT_InvokeClosureNoSuchMethod(dart::NativeArguments)
[0x000000012bc8085b] [Stub] CallToRuntime
[0x000000012bc82dc4] [Stub] CallClosureNoSuchMethod
[0x0000000132fb73cf] new HomePage
[0x0000000132fb7137] main.<anonymous closure>
[0x000000012dea68b5] _Closure.call
[0x000000013285d225] MaterialPageRoute.builder
[0x000000013285cf87] MaterialPageRoute.buildPage
[0x000000013285cbc2] _ModalScopeState.build.<anonymous closure>
[0x000000012dea68b5] _Closure.call
[0x000000013285c825] Builder.builder
[0x000000013285c73e] Builder.build
[0x00000001322b8614] StatelessElement.build
[0x00000001320c285e] ComponentElement.performRebuild
[0x00000001320c19c1] Element.rebuild
[0x000000012bed745a] StatelessElement.update
[0x0000000131ef8c05] Element.updateChild
[0x000000012bed8128] SingleChildRenderObjectElement.update

try: reinstall flutter and dart extensions on vsc, still have this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions