Skip to content

"The Programm has encountered an Error" #377

@mistercopilot

Description

@mistercopilot

Describe the bug

System.ArgumentException
Message: Not an game managed by GameService (Parameter 'instance')
Source: Natsurainko.FluentLauncher
TargetSite: Void ActivateGame(Nrk.FluentCore.GameManagement.Instances.MinecraftInstance)
StackTrace: at Natsurainko.FluentLauncher.Services.Launch.GameService.ActivateGame(MinecraftInstance instance)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.OnActiveMinecraftInstanceChanged(MinecraftInstance value)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.set_ActiveMinecraftInstance(MinecraftInstance value)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel..ctor(GameService gameService, AccountService accountService, LaunchService launchService, SettingsService settingsService, SearchProviderService searchProviderService, IDialogActivationService`1 dialogService)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at FluentLauncher.Infra.WinUI.Navigation.WinUINavigationService.ConfigureFrameContent(String key, Object parameter)
at FluentLauncher.Infra.WinUI.Navigation.WinUINavigationService.NavigateTo(String key, Object parameter)
at Natsurainko.FluentLauncher.Views.ShellPage.NavigationViewControl_SelectionChanged(NavigationView sender, NavigationViewSelectionChangedEventArgs args)
at WinRT.EventSource_global__Windows_Foundation_TypedEventHandler_global__Microsoft_UI_Xaml_Controls_NavigationView__global__Microsoft_UI_Xaml_Controls_NavigationViewSelectionChangedEventArgs.EventState.b__1_0(NavigationView sender, NavigationViewSelectionChangedEventArgs args)
at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_Microsoft_UI_Xaml_Controls_NavigationView__Microsoft_UI_Xaml_Controls_NavigationViewSelectionChangedEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)

Steps to reproduce the bug

used with Windows 11 Laptop and something happended, cant describe it but when you go the the library and back (home) it says that the programm encountered an error

Expected behavior

i expected it to work?

Environment

OS Build: 26200.7171
FluentLauncher Build: 2.3.8.0

Attachment

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions