[Bug]:
Bug Summary
I just installed it. After entering my password, I pressed settings. It gave this error and closed.
Steps to reproduce
I just installed it. After entering my password, I pressed settings. It gave this error and closed.
Provide the error message / stack trace
Exception has been thrown by the target of an invocation.
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) at Wpf.Ui.Controls.NavigationViewActivator.CreateInstance(Type pageType, Object dataContext) at Wpf.Ui.Controls.NavigationView.GetPageInstanceFromCache(Type targetPageType) at Wpf.Ui.Controls.NavigationView.<>c__DisplayClass114_0.<GetNavigationItemInstance>g__ComputeCachedNavigationInstance|0() at Wpf.Ui.Controls.NavigationCache.Remember(Type entryType, NavigationCacheMode cacheMode, Func`1 generate) at Wpf.Ui.Controls.NavigationView.GetNavigationItemInstance(INavigationViewItem viewItem) at Wpf.Ui.Controls.NavigationView.NavigateInternal(INavigationViewItem viewItem, Object dataContext, Boolean addToNavigationStack, Boolean isBackwardsNavigated) at Wpf.Ui.Controls.NavigationView.Navigate(Type pageType, Object dataContext) at Guard.WPF.MainWindow.Navigate(Type page, Boolean enableBackButton) in C:\Users\info\Documents\Git\2FAGuard\Guard.WPF\MainWindow.xaml.cs:line 166 at Guard.WPF.Views.Pages.Start.SetupCompleted.CardAction_Click_Settings(Object sender, RoutedEventArgs e) in C:\Users\info\Documents\Git\2FAGuard\Guard.WPF\Views\Pages\Start\SetupCompleted.xaml.cs:line 42 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at Guard.WPF.Program.Main() in C:\Users\info\Documents\Git\2FAGuard\Guard.WPF\Program.cs:line 17
What version of Windows are you using?
Windows 11 22631
What version and edition of the app are you using?
1.5.6.0 (Microsoft Store)
Thanks for reporting this. Unfortunately, I cannot reproduce this bug, and the stack trace gives no indication of the cause of the crash. Has this only happened once, or can you still not open the settings page in the app?
This issue has been automatically marked as stale because it has been marked as awaiting reply for 30 days without activity. It will be closed in 7 days if no further activity occurs.
Hi @mryusufcan, Version 1.6.0 of the app, which has just been published, contains a bug fix for the partial error stack trace reporting. Please report this error again using the latest app version, so I can find the cause and fix it. Please note that it may take several days for the update to become available in the Microsoft Store too.