Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Crash when trying to add a first image to a ship #103

Closed
MyersP opened this issue Nov 28, 2022 · 0 comments
Closed

[Bug] Crash when trying to add a first image to a ship #103

MyersP opened this issue Nov 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MyersP
Copy link

MyersP commented Nov 28, 2022

Description

When trying to add a first image to a ship NomNom crashes. The error message "The system cannot find the file specified." is thrown and NomNom exits after a bit.

Reproduce

Steps to reproduce the behavior:

  1. Opened a save
  2. Click on Ships
  3. Click on the camera to add a image
  4. Popup with message saying NomNom crashed

Expected Behavior

I should have been able to browse to a directory to select an image.

Additional Context

Stack Trace: from "report.20221128013126.html"
at Ookii.Dialogs.Wpf.NativeMethods.CreateItemFromParsingName(String path)
at Ookii.Dialogs.Wpf.VistaFileDialog.SetDialogProperties(IFileDialog dialog)
at Ookii.Dialogs.Wpf.VistaOpenFileDialog.SetDialogProperties(IFileDialog dialog)
at Ookii.Dialogs.Wpf.VistaFileDialog.RunFileDialog(IntPtr hwndOwner)
at Ookii.Dialogs.Wpf.VistaFileDialog.ShowDialog(IntPtr owner)
at Ookii.Dialogs.Wpf.VistaFileDialog.ShowDialog(Window owner)
at Ookii.Dialogs.Wpf.VistaFileDialog.ShowDialog()
at NomNom.ViewModels.EditorSaveStarshipViewModel.AddImage()
at Prism.Commands.DelegateCommand.Execute()
at Prism.Commands.DelegateCommand.Execute(Object parameter)
at Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
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.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)

Error_Adding_Ship_Image

@MyersP MyersP added the bug Something isn't working label Nov 28, 2022
@cengelha cengelha changed the title [Bug] [Bug] Crash when trying to add a first image to a ship Sep 10, 2023
@cengelha cengelha self-assigned this Aug 5, 2024
@cengelha cengelha closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants