MXS2 roms import failing even under Launchbox beta version.

Issue #5960 resolved
Sebastien Tenaillon created an issue

I have updated my version of launchbox to the beta to see if the error I had with release version was corrected but it is still occurring, please find here under the error log message:

(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.10-beta-3
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 CollectionServer.IncludeBatchReader(Object , CollectionServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.ListDataParser()
at TagGetter.IncludeBatchReader(Object , TagGetter )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()
at CollectionServer.IncludeBatchReader(Object , CollectionServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.RomImportMameOptionsViewModel.OnActivated()
at CollectionServer.IncludeBatchReader(Object , CollectionServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.ListDataParser()
at TagGetter.IncludeBatchReader(Object , TagGetter )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: LaunchBox
Version: 11.10-beta-3
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.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:

20:49:55 Exception

Comments (3)

  1. Christian

    New beta release is out with the correction for this. Please update and let us know if it doesn't solve the problem.

  2. Sebastien Tenaillon reporter

    Hello Christian,

    Yeah! that issue is resolved in fact , thank you very much and great job to all the team!

    Regards,

  3. Log in to comment