Impossible to import new roms

Issue #5954 resolved
Sebastien Tenaillon created an issue

(Inner Exception)

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex')

App: LaunchBox
Version: 11.9
Type: System.ArgumentOutOfRangeException
Site: Int32 IndexOf(System.String, Int32, Int32, System.StringComparison)
Source: System.Private.CoreLib

at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
at Unbroken.LaunchBox.NamingHelper.ParseDiscNumberFromFileName(String path, Boolean& sideA, Boolean& sideB)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.RomImportGameListViewModel.GameRecord..ctor(String platform, String filePath, Boolean useFolderForTitle, MameFileResult mameData)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.RomImportGameListViewModel.OnActivated()
at SystemInfo.CloneInvalidRequest(Object , SystemInfo )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.DestroySupportedWorker()
at ManagerInfo.CloneInvalidRequest(Object , ManagerInfo )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()
at SystemInfo.CloneInvalidRequest(Object , SystemInfo )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.RomImportMameOptionsViewModel.OnActivated()
at SystemInfo.CloneInvalidRequest(Object , SystemInfo )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.DestroySupportedWorker()
at ManagerInfo.CloneInvalidRequest(Object , ManagerInfo )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: LaunchBox
Version: 11.9
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 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
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.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
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.UIElement.OnMouseLeftButtonUpThunk(Object sender, 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.UIElement.OnMouseUpThunk(Object sender, 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.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:

15:51:01 Exception

Comments (2)

  1. Christian

    Thanks for the report. We have successfully tracked down the cause of this and it should be resolved in the release of 11.10

  2. Log in to comment