Skip to content
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]: 从Yae Achievement导入成就时崩溃 #1704

Closed
4 tasks done
CR4Player opened this issue Jun 6, 2024 · 5 comments
Closed
4 tasks done

[Bug]: 从Yae Achievement导入成就时崩溃 #1704

CR4Player opened this issue Jun 6, 2024 · 5 comments
Labels
area-Achievement 成就管理 area-InterProcess 进程间操作 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed
Milestone

Comments

@CR4Player
Copy link

CR4Player commented Jun 6, 2024

检查清单

  • 我已阅读 Snap Hutao 文档中的常见问题常见程序异常,我的问题没有在文档中得到解答
  • 我知道文档站的导航栏中有搜索功能,且已经搜索过相关关键词
  • 我的问题不是已完成的问题也不是一个别人已发布的重复的问题

Windows 版本

22631.3593

Snap Hutao 版本

1.10.3.0

设备 ID

F7E1691750C5EFC6D10174B32E1F4EF5

问题分类

成就管理

发生了什么?

在最新版Yae Achievement获取成就并选择导出至Snap Hutao后,程序崩溃并自动重启,且自动重启后程序无法正常运行,仅显示白色空白窗体并卡死,任务管理器强行结束任务后可以正常启动程序。
使用UIAF格式导入时无问题
100%复现

你期望发生的行为?

正常弹出成就导入选项

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@CR4Player CR4Player added BUG 非外部问题导致的应用程序异常 priority:none Priority not set labels Jun 6, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 6, 2024

device_id: F7E1691750C5EFC6D10174B32E1F4EF5

Exception Data:
[]:Description:
[]:RestrictedDescription:
[]:RestrictedErrorReference:
[]:RestrictedCapabilitySid:
[]:__RestrictedErrorObjectReference:
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at Windows.UI.Notifications.ToastNotification._IToastNotificationFactory.CreateToastNotification(XmlDocument content)
   at Windows.UI.Notifications.ToastNotification..ctor(XmlDocument content)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show(CustomizeToast customize)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show()
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 111
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
[]:Description:
[]:RestrictedDescription:
[]:RestrictedErrorReference:
[]:RestrictedCapabilitySid:
[]:__RestrictedErrorObjectReference:
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at Windows.UI.Notifications.ToastNotification._IToastNotificationFactory.CreateToastNotification(XmlDocument content)
   at Windows.UI.Notifications.ToastNotification..ctor(XmlDocument content)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show(CustomizeToast customize)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show()
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 111
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Collections.Generic.KeyNotFoundException: The given key 'stoken' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Snap.Hutao.View.Page.LoginMihoyoUserPage.HandleCurrentCookieAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\View\Page\LoginMihoyoUserPage.xaml.cs:line 64
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@dgp-bot dgp-bot bot added the area-Achievement 成就管理 label Jun 6, 2024
@Lightczx
Copy link
Member

Lightczx commented Jun 6, 2024

可以先启动胡桃再导入

@Lightczx
Copy link
Member

Lightczx commented Jun 6, 2024

fixed by 89f8ded

@Lightczx Lightczx added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release and removed priority:none Priority not set labels Jun 6, 2024
@CR4Player
Copy link
Author

fixed by 89f8ded

确认。此Build中该问题已解决

@qhy040404 qhy040404 reopened this Jun 6, 2024
@dgp-bot dgp-bot bot added the priority:none Priority not set label Jun 6, 2024
@qhy040404 qhy040404 added area-InterProcess 进程间操作 and removed priority:none Priority not set labels Jun 6, 2024
@dgp-bot dgp-bot bot added this to the 1.10.4 milestone Jun 19, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 19, 2024

包含解决该问题的程序版本 1.10.4 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jun 19, 2024
@dgp-bot dgp-bot bot closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Achievement 成就管理 area-InterProcess 进程间操作 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed
Projects
Archived in project
Development

No branches or pull requests

3 participants