Skip to content

Bug: Files crashes due to unhandled exception #10066

@ferrariofilippo

Description

@ferrariofilippo

Description

Sometimes, when opening Files, the program crashes because of an unhandled exception.
The problem is that a DriveItem (usually C:) is loaded twice, raising the exception.
It's not the first time I have had this issue (first time was some 10 days ago), but it seemed to work after restarting Files

Steps To Reproduce

.

Steps to fix

  • Before adding a DriveItem check if it already exists
  • Add a Try-Catch to manage the exception

Files Version

Version: 2.3.28.0 OS Version: 10.0.22000.1042

Windows Version

Windows 11 Home 21H2 22000.1042

Relevant Assets/Logs

1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions