Skip to content

Dart Analyzer has terminated (on updating extension) #62995

@cornerplotter

Description

@cornerplotter

Bad state: No definition of type Future
#0 TypeProviderImpl._getClassElement (package:analyzer/src/dart/element/type_provider.dart:603)
#1 TypeProviderImpl.futureElement (package:analyzer/src/dart/element/type_provider.dart:271)
#2 TypeProviderImpl.futureDynamicType (package:analyzer/src/dart/element/type_provider.dart:261)
#3 LoadLibraryFunctionProvider._create (package:analyzer/src/dart/element/element.dart:7144)
#4 LoadLibraryFunctionProvider.getElement (package:analyzer/src/dart/element/element.dart:7131)
#5 LibraryElementImpl.loadLibraryFunction (package:analyzer/src/dart/element/element.dart:6085)
#6 BundleWriter._writeLoadLibraryFunctionReferences (package:analyzer/src/summary2/bundle_writer.dart:545)
#7 BundleWri…
[2:37:05 PM] [DartToolingDaemon] [Info] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Service","eventKind":"ServiceUnregistered","eventData":{"service":"Lsp","method":"dart/textDocument/augmentation"},"timestamp":1774622225145}}
[2:37:05 PM] [Analyzer] [Warn] LSP Client closed (1 recent restarts recorded)
[2:37:05 PM] [Analyzer] [Info] Spawning C:\Users\RogerWhitehead\FlutterSDK\flutter\bin\cache\dart-sdk\bin\dart.exe with args ["language-server","--protocol=lsp","--client-id=VS-Code","--client-version=3.130.1"]
[2:37:05 PM] [Analyzer] [Info] PID: 50732
[2:37:05 PM] [Analyzer] [Info] ==> Content-Length: 6744
[2:37:05 PM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":110148,"clientInfo":{"name":"Visual Studio Code","version":"1.113.0"},"locale":"en","rootPath":"c:\Users\...\AndroidStudioProjects\flutter-forms","rootUri":"file:///C%3A/Users/.../AndroidStudioProjects/flutter-forms","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"configuration":true,"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6…
[2:37:05 PM] [Analyzer] [Info] Analysis server exited (255, null)
[2:37:05 PM] [Analyzer] [Warn] Prompting to reload: (The Dart Analyzer has terminated. Please file an issue on GitHub with any error from the end of the log.) (actions: Restart Extension, Show Log)

  • Dart 3.11.4 (stable) (Tue Mar 24 01:02:20 2026 -0700) on "windows_x64"
  • on windows / "Windows 11 Pro" 10.0 (Build 26200)
  • locale is en-GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis servertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions