Object reference not set to an instance of an object.

Issue #6413 resolved
D L created an issue

When Adding new emulator

(Inner Exception)

Object reference not set to an instance of an object.

App: LaunchBox
Version: 12.1
Type: System.NullReferenceException
Site: Boolean CalculateAwareAdvisor(System.Object, System.Object)
Source: LaunchBox

at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditEmulatorDetailsPageViewModel.CalculateAwareAdvisor(Object , Object )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditEmulatorDetailsPageViewModel.ValidateValues()
at ImporterObject.ExcludeAwareConfig(Object , ImporterObject )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditEmulatorViewModel.InsertStatementModel(AddEditEmulatorTreeItemViewModel res)
at DatabaseObject.ExcludeAwareConfig(Object , AddEditEmulatorTreeItemViewModel res, DatabaseObject )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditEmulatorViewModel.RunStatementModel()
at ImporterObject.ExcludeAwareConfig(Object , ImporterObject )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditEmulatorViewModel.Ok()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: LaunchBox
Version: 12.1
Type: System.Reflection.TargetInvocationException
Site: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean, Boolean)
Source: System.Private.CoreLib

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Caliburn.Micro.ActionMessage.<>c.<.cctor>b__33_0(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
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.Button.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.Input.InputProviderSite.ReportInput(InputReport inputReport)
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 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)

Recent Log:

12:32:07 AM Exception

Comments (1)

  1. Christian

    Thanks for the report I have a code change in place to correct this error. Should be out with the next beta. In the meantime if you type something in the command line, then click something else, then empty the command line before saving you should be able to avoid the error.

  2. Log in to comment