files-community / files-community/Files

Bug: There is a crash issue when opening the network option.

Open
#18,268 2 comments 0 reactions 0 assignees View on GitHub
crash
Dominant language
C#
Stars
45.4k
Forks
2.9k
PR merge metrics
PR metrics pending

Description

### Description

Image
There is a crash issue when opening the network option. And he will keep spinning until it crashes.
log:
2026-03-16 19:31:26.9574|Error|System.NullReferenceException: Object reference not set to an instance of an object.
at Files.App.ViewModels.Layouts.BaseLayoutViewModel.DropAsync(DragEventArgs e)
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__124_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b__0()

This log might be the culprit of the crash.

### Steps To Reproduce

1. Open network options
2. Wait
3. Crash

### Files Version

e.g. 4.0.34.0

### Windows Version

e.g. 10.0.26100.7705

### User ID

1bfa9398-1e86-490b-94be-cfef7713f864

### Log File

[debug.log](https://github.com/user-attachments/files/26022176/debug.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.