Unable to launch application
silver886 opened this issue · comments
BrowserPicker crashed when execute the exe.
Event Viewer records the .NET Runtime exception
Application: BrowserPicker.exe
CoreCLR Version: 8.0.324.11423
.NET Version: 8.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException: The type initializer for 'BrowserPicker.App' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at BrowserPicker.Windows.AppSettings.GetDefaultSetting(String key, String value) in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.Windows\AppSettings.cs:line 272
at BrowserPicker.Windows.AppSettings.<>c__DisplayClass43_0.<GetDefaults>b__0(String name) in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.Windows\AppSettings.cs:line 255
at System.Linq.Enumerable.SelectArrayIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
at System.Linq.Enumerable.SelectArrayIterator`2.ToList()
at BrowserPicker.Windows.AppSettings.GetDefaults() in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.Windows\AppSettings.cs:line 255
at BrowserPicker.Windows.AppSettings..ctor() in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.Windows\AppSettings.cs:line 18
at BrowserPicker.App..cctor() in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.App\App.xaml.cs:line 22
--- End of inner exception stack trace ---
at BrowserPicker.App..ctor() in D:\a\BrowserPicker\BrowserPicker\src\BrowserPicker.App\App.xaml.cs:line 26
at BrowserPicker.App.Main()
OS: Windows 11 Pro (23H2, 22631.3296)
Thanks for the report, this should be fixed in the next build and release.