Skip to content

[futter_tools] StateError: Bad state: Future already completed #137163

@eliasyishak

Description

@eliasyishak

Version: stable/3.13.8
Command: debug_adapter

StateError: Bad state: Future already completed
at _Completer.completeError(future_impl.dart:18)
at ThreadInfo.resolveUrisToPathsBatch.<anonymous closure>(isolate_manager.dart:1023)
at _LinkedHashMapMixin.forEach(compact_hash.dart:625)
at ThreadInfo.resolveUrisToPathsBatch(isolate_manager.dart:1023)
at <asynchronous gap>(async)
at ThreadInfo.resolveUrisToPackageLibPathsBatch(isolate_manager.dart:976)
at <asynchronous gap>(async)
at IsolateManager._sendLibraryDebuggables(isolate_manager.dart:812)
at <asynchronous gap>(async)
at Future.wait.<anonymous closure>(future.dart:525)
at <asynchronous gap>(async)
at IsolateManager._configureIsolate(isolate_manager.dart:392)
at <asynchronous gap>(async)
at IsolateManager.registerIsolate(isolate_manager.dart:221)
at <asynchronous gap>(async)
at DartDebugAdapter._configureExistingIsolates.<anonymous closure>(dart.dart:749)
at <asynchronous gap>(async)
at Future.wait.<anonymous closure>(future.dart:525)
at <asynchronous gap>(async)
at DartDebugAdapter._configureExistingIsolates(dart.dart:742)
at <asynchronous gap>(async)
at DartDebugAdapter._withErrorHandling(dart.dart:2424)
at <asynchronous gap>(async)
at DartDebugAdapter.connectDebugger(dart.dart:690)
at <asynchronous gap>(async)
at FlutterDebugAdapter._connectDebugger(flutter_adapter.dart:383)
at <asynchronous gap>(async)
at FlutterDebugAdapter._handleDebugPort(flutter_adapter.dart:464)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions