Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flutter_tools] handle FileSystemException thrown when attempting to decode stamp file #64559

Merged

Conversation

jonahwilliams
Copy link
Member

Description

Fixes #64246

If decoding the string contents of a stamp file fails, treat it as if the stamp file is missing. This is always safe to do, since at worst it downloads more artifacts. The files could end up corrupted if they were edited by another program, for example

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 25, 2020
@jonahwilliams jonahwilliams merged commit f0a3cba into flutter:master Aug 25, 2020
@jonahwilliams jonahwilliams deleted the catch_errors_from_lockfile branch August 25, 2020 17:58
smadey pushed a commit to smadey/flutter that referenced this pull request Aug 27, 2020
…decode stamp file (flutter#64559)

Fixes flutter#64246

If decoding the string contents of a stamp file fails, treat it as if the stamp file is missing. This is always safe to do, since at worst it downloads more artifacts. The files could end up corrupted if they were edited by another program, for example
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
…decode stamp file (flutter#64559)

Fixes flutter#64246

If decoding the string contents of a stamp file fails, treat it as if the stamp file is missing. This is always safe to do, since at worst it downloads more artifacts. The files could end up corrupted if they were edited by another program, for example
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tool_crash] FileSystemException: Failed to decode data using encoding 'utf-8', null
3 participants