-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 遇到了无法恢复的致命错误 #2200
Labels
area-LifeCycle
App生命周期问题
Comments
device_id: 0B949BB4E2921772566F2177F0DF5EE9
|
Probable Similar Topics |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
检查清单
Windows 版本
26100.2314
Snap Hutao 版本
1.12.2.0
设备 ID
0B949BB4E2921772566F2177F0DF5EE9
问题分类
安装和环境
发生了什么?
打开胡桃时可以正常启动,


进入程序后发现各种模块不加载
退出胡桃后发现遇到无法恢复的致命错误
下方是Snap.Hutao Error Log.txt以及报错信息
Snap.Hutao Error Log.txt
Snap Hutao 1.12.2.0
Windows 10.0.26100.2314
System Architecture: X64
Process Architecture: X64
Framework: .NET 9.0.0
Exception Data:
System.Runtime.InteropServices.COMException (0x80070582): 类已存在。 (0x80070582)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Snap.Hutao.UI.Shell.NotifyIconMessageWindow..ctor() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMessageWindow.cs:line 46
at Snap.Hutao.UI.Shell.NotifyIconController..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 38
at InvokeStub_NotifyIconController..ctor(Object, Span
1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 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.CallSiteVisitor
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.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func`2 valueFactory)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 Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 159
at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 124
at WinRT.EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs.EventState.b__1_0(Object sender, WindowEventArgs args)
at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
你期望发生的行为?
No response
最后一步
The text was updated successfully, but these errors were encountered: