-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
For example, take this shortened example crash log (from me hacking on the tool):
Oops; flutter has exited unexpectedly: "type 'YamlList' is not a subtype of type 'List<Map<Object, Object>>' in type cast".
A crash report has been written to /Users/andrewkolos/Desktop/asset_transformers_test/flutter_03.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+type+%27YamlList%27+is+not+a+subtype+of+type+%27List%3CMap%3CObject%2C+Object%3E%3E%27+in+type+cast
To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports
Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://github.com/flutter/flutter/issues/new?title=%5Btool_crash%5D+_TypeError%3A+%28%230++++++FlutterManifest._computeTransformedAssets+%28package%3Aflutter_tools%2Fsrc%2Fflutter_manifest.dart%3A354%3A94%29%29&body=%23%23+Command%0A%60%60%60%0Aflutter+assemble+--no-version-check+-dTargetPlatform%3Ddarwin+-dDarwinArchs%3Darm64+-dTargetFile%3D%2FUsers%2Fa
Focus on this line in particular:
A crash report has been written to /Users/andrewkolos/Desktop/asset_transformers_test/flutter_03.log.
Many terminal applications detect uris and allow the user to follow a link (e.g. by alt-clicking on it). For developers working on the flutter tool, this could be handy for quickly examining the log output.
At least in my embedded bash terminal, VSCode is unable to follow this link because it the includes the period at the end as the part of Uri, which doesn't exist on disk. Said more directly, the output I would expect is
A crash report has been written to /Users/andrewkolos/Desktop/asset_transformers_test/flutter_03.log
Here is the responsible line of code:
| _logger.printError('A crash report has been written to ${crashFile.path}.'); |
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team