System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Components.Launch.GameLocator.TryGetIsVanillaAndAbsoluteVersion(GameInfo gameInfo, VersionJsonEntity jsonEntity)
at Natsurainko.FluentLauncher.Components.Launch.GameLocator.EnumerateGames()+MoveNext()
at Natsurainko.FluentLauncher.Services.Launch.GameService.RefreshGames()
at Natsurainko.FluentLauncher.Services.Launch.GameService.InitFolder()
at Natsurainko.FluentLauncher.Services.Launch.GameService.ActivateMinecraftFolder(String folder)
at Natsurainko.FluentLauncher.Services.Launch.GameService..ctor(SettingsService settingsService)
at InvokeStub_GameService..ctor(Object, Object, IntPtr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>cDisplayClass2_0.b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Natsurainko.FluentLauncher.Services.UI.Navigation.NavigationService.ConfigureFrameContent(String key, Object parameter)
at Natsurainko.FluentLauncher.Services.UI.Navigation.NavigationService.NavigateTo(String key, Object parameter)
at Natsurainko.FluentLauncher.Views.MainWindow.WindowEx_Activated(Object sender, WindowActivatedEventArgs args)
at WinRT._EventSource_globalWindows_Foundation_TypedEventHandler_objectglobalMicrosoft_UI_XamlWindowActivatedEventArgs.EventState.b__1_0(Object sender, WindowActivatedEventArgs args)
at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void thisPtr, TSenderAbi sender, TResultAbi args)
Describe the bug
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Components.Launch.GameLocator.TryGetIsVanillaAndAbsoluteVersion(GameInfo gameInfo, VersionJsonEntity jsonEntity) at Natsurainko.FluentLauncher.Components.Launch.GameLocator.EnumerateGames()+MoveNext() at Natsurainko.FluentLauncher.Services.Launch.GameService.RefreshGames() at Natsurainko.FluentLauncher.Services.Launch.GameService.InitFolder() at Natsurainko.FluentLauncher.Services.Launch.GameService.ActivateMinecraftFolder(String folder) at Natsurainko.FluentLauncher.Services.Launch.GameService..ctor(SettingsService settingsService) at InvokeStub_GameService..ctor(Object, Object, IntPtr) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitorb__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Natsurainko.FluentLauncher.Services.UI.Navigation.NavigationService.ConfigureFrameContent(String key, Object parameter)
at Natsurainko.FluentLauncher.Services.UI.Navigation.NavigationService.NavigateTo(String key, Object parameter)
at Natsurainko.FluentLauncher.Views.MainWindow.WindowEx_Activated(Object sender, WindowActivatedEventArgs args)
at WinRT._EventSource_global Windows_Foundation_TypedEventHandler_objectglobalMicrosoft_UI_XamlWindowActivatedEventArgs.EventState.b__1_0(Object sender, WindowActivatedEventArgs args)
at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void thisPtr, TSenderAbi sender, TResultAbi args)
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>cDisplayClass2_0.Steps to reproduce the bug
先添加我的文件夹,可能是文件太多,就崩溃了
Expected behavior
No response
Environment
No response
Attachment
No response