Skip to content

[tool_crash] LateError: (#0 LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:214:5)) #167887

Description

@smit-ai

Command

flutter run -d chrome --wasm

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

LateError: (#0 LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:214:5))

#0      LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:214:5)
#1      ResidentWebRunner.restart (package:flutter_tools/src/isolated/resident_web_runner.dart)
<asynchronous suspension>
#2      TerminalHandler._commonTerminalInputHandler (package:flutter_tools/src/resident_runner.dart:1710:40)
<asynchronous suspension>
#3      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1765:7)
<asynchronous suspension>
�[33m[!]�[39m Flutter (Channel beta, 3.32.0-0.2.pre, on Microsoft Windows [Version 10.0.26100.3775], locale en-IN) [574ms]
    �[32m•�[39m Flutter version 3.32.0-0.2.pre on channel beta at C:\Dev\fvm\default
    �[33m!�[39m Warning: `flutter` on your path resolves to C:\Dev\fvm\versions\beta\bin\flutter, which is not inside your current Flutter SDK checkout at
      C:\Dev\fvm\default. Consider adding C:\Dev\fvm\default\bin to the front of your path.
    �[33m!�[39m Warning: `dart` on your path resolves to C:\Dev\fvm\versions\beta\bin\dart, which is not inside your current Flutter SDK checkout at
      C:\Dev\fvm\default. Consider adding C:\Dev\fvm\default\bin to the front of your path.
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision d3abd00e69 (9 days ago), 2025-04-18 10:08:55 -0700
    �[32m•�[39m Engine revision 382be0028d
    �[32m•�[39m Dart version 3.8.0 (build 3.8.0-278.1.beta)
    �[32m•�[39m DevTools version 2.45.0
    �[32m•�[39m If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and
      upgrades.

�[32m[✓]�[39m Windows Version (11 Home Single Language 64-bit, 24H2, 2009) [4.4s]

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 35.0.0) [3.4s]
    �[32m•�[39m Android SDK at C:\Users\Smit Mehta\AppData\Local\Android\sdk
    �[32m•�[39m Platform android-35, build-tools 35.0.0
    �[32m•�[39m Java binary at: C:\Program Files\Eclipse Adoptium\jdk-17.0.14.7-hotspot\bin\java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    �[32m•�[39m Java version OpenJDK Runtime Environment Temurin-17.0.14+7 (build 17.0.14+7)
    �[32m•�[39m All Android licenses accepted.

�[32m[✓]�[39m Chrome - develop for the web [112ms]
    �[32m•�[39m Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

�[32m[✓]�[39m Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.5) [111ms]
    �[32m•�[39m Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    �[32m•�[39m Visual Studio Community 2022 version 17.12.35728.132
    �[32m•�[39m Windows 10 SDK version 10.0.22621.0

�[32m[✓]�[39m Android Studio (version 2024.3) [6ms]
    �[32m•�[39m Android Studio at C:\Program Files\Android\Android Studio
    �[32m•�[39m Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    �[32m•�[39m Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 21.0.5+-13047016-b750.29)

�[32m[✓]�[39m VS Code (version 1.97.2) [4ms]
    �[32m•�[39m VS Code at C:\Users\Smit Mehta\AppData\Local\Programs\Microsoft VS Code
    �[32m•�[39m Flutter extension version 3.108.0-universal

�[32m[✓]�[39m Connected device (3 available) [184ms]
    �[32m•�[39m Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.3775]
    �[32m•�[39m Chrome (web)      • chrome  • web-javascript • Google Chrome 135.0.7049.115
    �[32m•�[39m Edge (web)        • edge    • web-javascript • Microsoft Edge 135.0.3179.85

�[32m[✓]�[39m Network resources [385ms]
    �[32m•�[39m All expected network resources are available.

�[33m!�[39m Doctor found issues in 1 category.

Flutter Application Metadata

Type: app
Version: 0.1.0-demo
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: d3abd00

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consolecp: betacherry pick this pull request to beta release candidate branchplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions