Repository navigation
cast error in flutter manifest yaml parser #59610
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
From crash logging in beta/1.19.0-4.1.pre. Usually from run --machine.
_CastError: type 'String' is not a subtype of type 'YamlMap' in type cast
| at FlutterManifest.createFromString | (flutter_manifest.dart:43)
| at FlutterManifest.createFromPath | (flutter_manifest.dart:37)
| at FlutterProject._readManifest | (project.dart:211)
| at FlutterProjectFactory.fromDirectory.<anonymous closure> | (project.dart:46)
| at _LinkedHashMapMixin.putIfAbsent | (compact_hash.dart:291)
| at FlutterProjectFactory.fromDirectory | (project.dart:45)
| at FlutterProject.fromDirectory | (project.dart:81)
| at FlutterProject.current | (project.dart:85)
| at FlutterCommand.findAllTargetDevices | (flutter_command.dart:821)
| at RunCommand.validateCommand | (run.dart:331)
| at <asynchronous gap> | (async)
| at FlutterCommand.verifyThenRunCommand | (flutter_command.dart:777)
| at <asynchronous gap> | (async)
| at FlutterCommand.run.<anonymous closure> | (flutter_command.dart:694)
| at <asynchronous gap> | (async)
| at FlutterCommand.run.<anonymous closure> | (flutter_command.dart)
| at AppContext.run.<anonymous closure> | (context.dart:150)
| at _rootRun | (zone.dart:1190)
| at _CustomZone.run | (zone.dart:1093)
| at _runZoned | (zone.dart:1630)
| at runZoned | (zone.dart:1550)
| at AppContext.run | (context.dart:149)
| at FlutterCommand.run | (flutter_command.dart:684)
| at CommandRunner.runCommand | (command_runner.dart:197)
| at FlutterCommandRunner.runCommand.<anonymous closure> | (flutter_command_runner.dart:339)
| at <asynchronous gap> | (async)
| at FlutterCommandRunner.runCommand.<anonymous closure> | (flutter_command_runner.dart)
| at AppContext.run.<anonymous closure> | (context.dart:150)
| at _rootRun | (zone.dart:1190)
| at _CustomZone.run | (zone.dart:1093)
| at _runZoned | (zone.dart:1630)
| at runZoned | (zone.dart:1550)
| at AppContext.run | (context.dart:149)
| at FlutterCommandRunner.runCommand | (flutter_command_runner.dart:289)
| at <asynchronous gap> | (async)
| at CommandRunner.run.<anonymous closure> | (command_runner.dart:112)
| at new Future.sync | (future.dart:222)
| at CommandRunner.run | (command_runner.dart:112)
| at FlutterCommandRunner.run | (flutter_command_runner.dart:232)
| at run.<anonymous closure>.<anonymous closure> | (runner.dart:61)
| at _rootRun | (zone.dart:1190)
| at _CustomZone.run | (zone.dart:1093)
| at _runZoned | (zone.dart:1630)
| at runZonedGuarded | (zone.dart:1618)
| at runZoned | (zone.dart:1547)
| at run.<anonymous closure> | (runner.dart:59)
| at <asynchronous gap> | (async)
| at run.<anonymous closure> | (runner.dart)
| at runInContext.runnerWrapper | (context_runner.dart:62)
| at <asynchronous gap> | (async)
| at runInContext.runnerWrapper | (context_runner.dart)
| at AppContext.run.<anonymous closure> | (context.dart:150)
| at _rootRun | (zone.dart:1190)
| at _CustomZone.run | (zone.dart:1093)
| at _runZoned | (zone.dart:1630)
| at runZoned | (zone.dart:1550)
| at AppContext.run | (context.dart:149)
| at runInContext | (context_runner.dart:65)
| at run | (runner.dart:46)
| at main | (executable.dart:68)
| at main | (flutter_tools.dart:8)
| at _startIsolate.<anonymous closure> | (isolate_patch.dart:299)
| at _RawReceivePortImpl._handleMessage | (isolate_patch.dart:168)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
github-actions commentedon Aug 19, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.