DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
3.99k stars 192 forks source link

刷新实时便笺会导致闪退 #1893

Closed Waldbeisepel closed 2 months ago

Waldbeisepel commented 2 months ago

检查清单

Windows 版本

22631.3958

Snap Hutao 版本

1.10.7.0

设备 ID

A324F3BC0FB987218CD034F5C4C325FE

问题分类

安装和环境

发生了什么?

如标题所示,点击实时便笺的刷新时会导致闪退

Uploading 2024-08-09 06-50-17.mp4…

你期望发生的行为?

No response

最后一步

dgp-bot[bot] commented 2 months ago

device_id: A324F3BC0FB987218CD034F5C4C325FE

Exception Data:
[string]:Description:找不到元素。

[string]:RestrictedDescription:找不到元素。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070490): 找不到元素。

找不到元素。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Service.DailyNote.DailyNoteNotificationOperation.SendAsync(DailyNoteEntry entry) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteNotificationOperation.cs:line 104
   at Snap.Hutao.Service.DailyNote.DailyNoteService.RefreshDailyNotesCoreAsync(Boolean forceRefresh, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteService.cs:line 165
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.RefreshAsync() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 97
   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()
Exception Data:
[string]:Description:找不到元素。

[string]:RestrictedDescription:找不到元素。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070490): 找不到元素。

找不到元素。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Service.DailyNote.DailyNoteNotificationOperation.SendAsync(DailyNoteEntry entry) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteNotificationOperation.cs:line 104
   at Snap.Hutao.Service.DailyNote.DailyNoteService.RefreshDailyNotesCoreAsync(Boolean forceRefresh, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteService.cs:line 165
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.RefreshAsync() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 97
   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()
Exception Data:
[string]:Description:找不到元素。

[string]:RestrictedDescription:找不到元素。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070490): 找不到元素。

找不到元素。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Service.DailyNote.DailyNoteNotificationOperation.SendAsync(DailyNoteEntry entry) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteNotificationOperation.cs:line 104
   at Snap.Hutao.Service.DailyNote.DailyNoteService.RefreshDailyNotesCoreAsync(Boolean forceRefresh, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteService.cs:line 165
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.RefreshAsync() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 97
   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()
github-actions[bot] commented 2 months ago

Probable Similar Topics

  1. 69% #1034
dgp-bot[bot] commented 2 months ago

831ee071264ac33d6f92639039e054a6aeab00da 已修复此问题

dgp-bot[bot] commented 2 months ago

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

github-actions[bot] commented 1 month ago

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.