System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>cDisplayClass2_0.b__0()
复现问题的步骤
System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>cDisplayClass2_0.b__0()
期望的表现
System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>cDisplayClass2_0.b__0()
环境
System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>cDisplayClass2_0.b__0()
附件
System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>cDisplayClass2_0.b__0()
描述遇到的问题
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c DisplayClass2_0.b__0()
复现问题的步骤
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c DisplayClass2_0.b__0()
期望的表现
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c DisplayClass2_0.b__0()
环境
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c DisplayClass2_0.b__0()
附件
System.NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object. at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Home.HomeViewModel.b17_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c DisplayClass2_0.b__0()