UNHANDLED DISPATCHER EXCEPTION
System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Agility.Settings.AgilityJson..ctor(String path) in c:\Users\Welcome\Desktop\wb\Bots\Agility\Settings\AgilityJson.cs:line 107
at Agility.Settings.AgilitySettings.get_Settings() in c:\Users\Welcome\Desktop\wb\Bots\Agility\Settings\AgilitySettings.cs:line 35
at Agility.Settings.AgilityFlyout.get_Settings() in c:\Users\Welcome\Desktop\wb\Bots\Agility\Settings\AgilityFlyout.xaml.cs:line 119
at Agility.Settings.AgilityFlyout.KeyTextBox_PreviewKeyDown(Object sender, KeyEventArgs e) in c:\Users\Welcome\Desktop\wb\Bots\Agility\Settings\AgilityFlyout.xaml.cs:line 79
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.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)