Skip to content

Folder with unusual characters in name causes "An error occurred while handling initialized notification" #48091

@calebpeffer

Description

@calebpeffer

Hi all.

Folder names with unusual characters (an . in my case) can cause the dart language server to crash. This error completely disabled the Dart extension and printed no trace information to the console except:

image

Thanks to @DanTup, I found the issue by enabling the analyzer log. Here is a copy of that log:

image

Removing the period from the fdaf. directory name resolved the Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions