crash when starting launchbox

Issue #2523 resolved
Former user created an issue

Version 7.6

System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.InternalCombine(String path1, String path2) at System.IO.FileSystemEnumerableIterator1.AddSearchableDirsToStack(SearchData localSearchData) at System.IO.FileSystemEnumerableIterator1.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at (Game , String , List1 , Boolean , String[] ) at Unbroken.LaunchBox.Data.Game.GetResourceFilesFromFolder(String folder, List1 results, Boolean imagesOnly, String[] files) at (Game , String , Boolean ) at Unbroken.LaunchBox.Data.Game.GetImageFilePaths(String imageType, Boolean useCache) at (Game ) at Unbroken.LaunchBox.Data.Game.GetActualFrontImages() at (ImageGamesControl , Object , MouseEventArgs ) at Unbroken.LaunchBox.Desktop.Controls.ImageGamesControl.GamesControl_MouseMove(Object sender, MouseEventArgs e) at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Comments (2)

  1. Jason Carr repo owner

    Thank you Anonymous, this is happening because somehow one of your image folders paths is invalid. I'm not sure how that happened but I have added some error handling for the next beta which should help.

  2. Log in to comment