Program crashes whenever I right-click certain games

Issue #7352 new
Mark Langdahl created an issue

Launchbox version: 12.16

Windows version: Windows 11 22H2

I get a program crash whenever I right-click a game that is no longer installed in the location different from the one it was originally created for. This of course makes it dificult to change the location. Not impossible as the CTRL+E shortcut still works.

Comments (5)

  1. Mark Langdahl reporter

    Sorry, it stopped happening since then. Don’t know why. My guess is it is because I reduced the number of games with defective links. Because now it just lets me right-click like normal. So the problem seems to have solved itself.

  2. Mark Langdahl reporter

    Actually found one where it did it again:

    Could not find a part of the path 'C:\DOS Games\Drakkhen'.

    App: LaunchBox
    Version: 12.16
    Type: System.IO.DirectoryNotFoundException
    Site: IntPtr CreateDirectoryHandle(System.String, Boolean)
    Source: System.IO.FileSystem

    at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init()
    at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
    at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
    at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
    at Unbroken.LaunchBox.Windows.MenuActions.UninstallGameMenuAction.IsUninstallable(Game game)
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.<>c__DisplayClass63_0.SetupInterruptibleHelper(Object )
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.<>c__DisplayClass63_0.FlushLiteralIssuer()
    at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)
    at Unbroken.LaunchBox.Windows.Threading.ReflectSimpleAdapter(Object , Object , DispatcherPriority )
    at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.IncludeDrivenProc(Object , DispatcherPriority )
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.ShowMenu(PlacementMode placementMode, UIElement placementTarget, Boolean cacheOnly)
    at RequestItem.CallDrivenIterator(Object , PlacementMode placementMode, UIElement placementTarget, Boolean cacheOnly, RequestItem )
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.ResetLiteralCollection()
    at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
    at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)
    at Unbroken.LaunchBox.Windows.Threading.ReflectSimpleAdapter(Object , Object , DispatcherPriority )
    at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.IncludeDrivenProc(Object , DispatcherPriority )
    at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.PushLiteralCollection()
    at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.AwakeSimpleTokenizer(Object )
    at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.PublishConcreteCreator()
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

    Recent Log:

    14:30:16 Exception

  3. Log in to comment