StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Crash when selecting data directory

Open MidnightHoosk opened this issue 11 months ago • 0 comments

What happened?

  1. Open Stability Matrix
  2. Attempt to browse to a data directory other than c:\
  3. Crashed with InvalidOperationException

Exception Details

Exception

InvalidOperationException: This operation is not supported for a relative URI.

Sentry ID

153eff9f

Stack Trace

   at StabilityMatrix.Avalonia.ViewModels.Dialogs.SelectDataDirectoryViewModel.ShowFolderBrowserDialog()
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
   at Avalonia.Threading.DispatcherOperation.Execute()
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
   at Avalonia.Threading.Dispatcher.Signaled()
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
   at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
   at StabilityMatrix.Avalonia.Program.Main(String[] args)```


### Version

v2.13.2

### What Operating System are you using?

Windows

MidnightHoosk avatar Jan 29 '25 22:01 MidnightHoosk