Skip to content

[flutter_tools] crash parsing assets from pubspec.yaml when path is invalid #135087

Closed as not planned
@christopherfujino

Description

@christopherfujino

On command flutter run
Flutter version beta/3.15.0-15.1.pre

FileSystemException: Exists failed, path = 'C:\flutter_app\assets\my_asset.json\' (OS Error: The filename, directory name, or volume label syntax is incorrect.
, errno = 123)
at _Directory.existsSync(directory_impl.dart:92)
at ForwardingFileSystemEntity.existsSync(forwarding_file_system_entity.dart:43)
at ErrorHandlingDirectory.existsSync.<anonymous closure>(error_handling_io.dart:492)
at _runSync(error_handling_io.dart:590)
at ErrorHandlingDirectory.existsSync(error_handling_io.dart:491)
at ManifestAssetBundle._parseAssetsFromFolder(asset.dart:886)
at ManifestAssetBundle._parseAssets(asset.dart:799)
at ManifestAssetBundle.build(asset.dart:261)
at <asynchronous gap>(async)
at ResidentWebRunner._updateDevFS(resident_web_runner.dart:503)
at <asynchronous gap>(async)
at ResidentWebRunner.restart(resident_web_runner.dart:385)
at <asynchronous gap>(async)
at TerminalHandler._commonTerminalInputHandler(resident_runner.dart:1774)
at <asynchronous gap>(async)
at TerminalHandler.processTerminalInput(resident_runner.dart:1827)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy