Changed Game's physical Path, launchbox tried to copy the image files to the same place

Issue #6780 new
Dani Sarfati created an issue

Running the latest version of LB as of writing,

Ran into the issue when I changed the path to the “ROM File”. It tried to copy one of the PNG files from/to the same place. Windows said the file was in use. here is the stack dump

Object reference not set to an instance of an object.

App: LaunchBox
Version: 12.8
Type: System.NullReferenceException
Site: System.Windows.Controls.ListView (System.Object)
Source: LaunchBox

at (Object )
at ParamObject.SearchSupportedProducer(Object , ParamObject )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.BoxItemViewModel.SetImage(ImageSource source, Color backgroundColor, Boolean isMissing)
at SchemaHelper.SearchSupportedProducer(Object , ImageSource source, Color backgroundColor, Boolean isMissing, SchemaHelper )
at Unbroken.LaunchBox.Windows.Desktop.BoxImageCache.<>c__DisplayClass17_2.SearchStatelessSingleton()
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:

6:43:52 PM Exception

Another interesting thing is that sometimes I’ve noticed the image gets lost after I’ve changed the ROM Path, usually a refresh fixes it. Since I’m not changing the game itself, I’m not sure why this is being updated though.

My ROMs are not launchbox managed.

Comments (0)

  1. Log in to comment