Skip to content

[flutter_tools] UnsupportedError at _Uri._checkWindowsPathReservedCharacters when parsing directory entries with invalid characters in assets section in pubspec.yaml #140092

@andrewkolos

Description

@andrewkolos

On beta/3.18.0-0.1.pre.
Command: run --machine --start-paused -d chrome --devtools-server-address http://127.0.0.1:9100/ --target <redacted>/<redacted>.dart

Stack trace:

UnsupportedError: Unsupported operation: Illegal character in path: http:
at _Uri._checkWindowsPathReservedCharacters(uri.dart:1840)
at _Uri._toWindowsFilePath(uri.dart:2893)
at _Uri.toFilePath(uri.dart:2865)
at ManifestAssetBundle._parseAssetsFromFolder(asset.dart:895)
at ManifestAssetBundle._parseAssets(asset.dart:810)
at ManifestAssetBundle.build(asset.dart:265)
at <asynchronous gap>(async)
at ResidentWebRunner._updateDevFS(resident_web_runner.dart:527)
at <asynchronous gap>(async)
at ResidentWebRunner.run.<anonymous closure>(resident_web_runner.dart:320)
at <asynchronous gap>(async)
at asyncGuard.<anonymous closure>(async_guard.dart:111)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consolec: fatal crashCrashes that terminate the processteam-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