Exception from yaml parsing during dart fix #56473
Labels
analyzer-dartfix
Issues with the dartfix package
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Computing fixes in aqua_flower_app (dry run)...
An unexpected error was encountered by the Analysis Server.
Please file an issue at https://github.com/dart-lang/sdk/issues/new/choose with the following details:
Exception while getting bulk fixes: Error on line 63, column 4: Expected a key while parsing a block mapping.
╷
63 │ assets:
│ ^
╵
#0 Parser._parseBlockMappingKey (package:yaml/src/parser.dart:456:5)
#1 Parser._stateMachine (package:yaml/src/parser.dart:100:16)
#2 Parser.parse (package:yaml/src/parser.dart:61:19)
#3 Loader._loadMapping (package:yaml/src/loader.dart:169:23)
#4 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#5 Loader._loadMapping (package:yaml/src/loader.dart:163:19)
#6 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#7 Loader._loadDocument (package:yaml/src/loader.dart:68:20)
#8 Loader.load (package:yaml/src/loader.dart:60:20)
#9 loadYamlDocument (package:yaml/yaml.dart:69:25)
#10 loadYamlNode (package:yaml/yaml.dart:54:5)
#11 BulkFixProcessor._runPubspecValidatorAndFixGenerator (package:analysis_server/src/services/correction/bulk_fix_processor.dart:926:21)
#12 BulkFixProcessor._computeChangesToPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:424:28)
#13 BulkFixProcessor.fixPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:289:7)
#14 EditBulkFixes.handle (package:analysis_server/src/handler/legacy/edit_bulk_fixes.dart:60:38)
#15 LegacyAnalysisServer.handleRequest.. (package:analysis_server/src/legacy_analysis_server.dart:576:25)
#16 OperationPerformanceImpl.runAsync (package:analyzer/src/util/performance/operation_performance.dart:174:29)
#17 LegacyAnalysisServer.handleRequest. (package:analysis_server/src/legacy_analysis_server.dart:557:29)
#18 _rootRun (dart:async/zone.dart:1399:13)
#19 _CustomZone.run (dart:async/zone.dart:1301:19)
#20 _runZoned (dart:async/zone.dart:1826:10)
#21 runZonedGuarded (dart:async/zone.dart:1814:12)
#22 LegacyAnalysisServer.handleRequest (package:analysis_server/src/legacy_analysis_server.dart:553:5)
#23 LegacyAnalysisServer.handleRequestOrResponse (package:analysis_server/src/legacy_analysis_server.dart:617:7)
#24 _rootRunUnary (dart:async/zone.dart:1407:47)
#25 _CustomZone.runUnary (dart:async/zone.dart:1308:19)
#26 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217:7)
#27 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)
#28 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297:7)
#29 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#30 _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#31 new _DebounceRequests.. (package:analysis_server/src/server/debounce_requests.dart:50:20)
#32 _rootRun (dart:async/zone.dart:1391:47)
#33 _CustomZone.run (dart:async/zone.dart:1301:19)
#34 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
#35 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23)
#36 _rootRun (dart:async/zone.dart:1399:13)
#37 _CustomZone.run (dart:async/zone.dart:1301:19)
#38 _CustomZone.bindCallback. (dart:async/zone.dart:1233:23)
#39 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#40 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#41 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#42 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
#0 Parser._parseBlockMappingKey (package:yaml/src/parser.dart:456:5)
#1 Parser._stateMachine (package:yaml/src/parser.dart:100:16)
#2 Parser.parse (package:yaml/src/parser.dart:61:19)
#3 Loader._loadMapping (package:yaml/src/loader.dart:169:23)
#4 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#5 Loader._loadMapping (package:yaml/src/loader.dart:163:19)
#6 Loader._loadNode (package:yaml/src/loader.dart:88:35)
#7 Loader._loadDocument (package:yaml/src/loader.dart:68:20)
#8 Loader.load (package:yaml/src/loader.dart:60:20)
#9 loadYamlDocument (package:yaml/yaml.dart:69:25)
#10 loadYamlNode (package:yaml/yaml.dart:54:5)
#11 BulkFixProcessor._runPubspecValidatorAndFixGenerator (package:analysis_server/src/services/correction/bulk_fix_processor.dart:926:21)
#12 BulkFixProcessor._computeChangesToPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:424:28)
#13 BulkFixProcessor.fixPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:289:7)
#14 EditBulkFixes.handle (package:analysis_server/src/handler/legacy/edit_bulk_fixes.dart:60:38)
#15 LegacyAnalysisServer.handleRequest.. (package:analysis_server/src/legacy_analysis_server.dart:576:25)
#16 OperationPerformanceImpl.runAsync (package:analyzer/src/util/performance/operation_performance.dart:174:29)
#17 LegacyAnalysisServer.handleRequest. (package:analysis_server/src/legacy_analysis_server.dart:557:29)
#18 _rootRun (dart:async/zone.dart:1399:13)
#19 _CustomZone.run (dart:async/zone.dart:1301:19)
#20 _runZoned (dart:async/zone.dart:1826:10)
#21 runZonedGuarded (dart:async/zone.dart:1814:12)
#22 LegacyAnalysisServer.handleRequest (package:analysis_server/src/legacy_analysis_server.dart:553:5)
#23 LegacyAnalysisServer.handleRequestOrResponse (package:analysis_server/src/legacy_analysis_server.dart:617:7)
#24 _rootRunUnary (dart:async/zone.dart:1407:47)
#25 _CustomZone.runUnary (dart:async/zone.dart:1308:19)
#26 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217:7)
#27 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)
#28 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297:7)
#29 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#30 _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#31 new _DebounceRequests.. (package:analysis_server/src/server/debounce_requests.dart:50:20)
#32 _rootRun (dart:async/zone.dart:1391:47)
#33 _CustomZone.run (dart:async/zone.dart:1301:19)
#34 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
#35 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23)
#36 _rootRun (dart:async/zone.dart:1399:13)
#37 _CustomZone.run (dart:async/zone.dart:1301:19)
#38 _CustomZone.bindCallback. (dart:async/zone.dart:1233:23)
#39 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#40 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#41 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#42 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
The text was updated successfully, but these errors were encountered: