Attempting to save HFR list causes an unhandled exception

Issue #780 resolved
Ryan Haveson created an issue

I was not able to repro this in a dev environment. I have a couple other things to try.

  • Try with a very long set of exposures (test in dev environment was with a few subs, my nightly sequence is 300+ subs)
  • Try after manually triggering auto focus (this is the only thing I did other than regular sequence instructions, worth a try)

Note that pressing “yes” results in the app apparently working fine. So likely recovers.

Comments (7)

  1. Stefan B repo owner

    Looks like the Microsoft.Bcl.HashCode dependency was missed in the setup. will be added for the next build.

  2. Ryan Haveson reporter

    [2021-02-23T05:36:46.9000] [ERROR] [MemberName] Current_DispatcherUnhandledException
    [2021-02-23T05:36:46.9000] [ERROR] [FileName] E:\Projects\nina\NINA\App.xaml.cs
    [2021-02-23T05:36:46.9000] [ERROR] [Message] Could not load file or assembly 'Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. at CsvHelper.ObjectCreator.GetConstructorCacheKey(Type type, Type[] args)
    at CsvHelper.ObjectCreator.CreateInstance(Type type, Object[] args)
    at CsvHelper.ObjectResolver.<>c__DisplayClass17_0.<.cctor>b__1(Type type, Object[] args)
    at CsvHelper.ObjectResolver.Resolve[T](Object[] constructorArgs)
    at CsvHelper.Configuration.CsvConfiguration.RegisterClassMapTMap
    at NINA.ViewModel.ImageHistory.ImageHistoryVM.PlotSave()
    at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
    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.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    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.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    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.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)

  3. Log in to comment