DGP-Studio / Snap.Hutao

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

[Bug]: 在运行祈愿记录中的Stoken刷新时出现卡退 #1794

Closed ke040606 closed 5 months ago

ke040606 commented 5 months ago

检查清单

Windows 版本

22631.3737

Snap Hutao 版本

1.10.5.0

设备 ID

576A7627EC3E8AFE085FB14085CFE445

问题分类

祈愿记录

发生了什么?

使用Stoken刷新时,如果有新祈愿内容更新,程序就会崩溃后闪退,需要重新手动打开软件。如果账号没有祈愿记录更新内容,则不会闪退。 Snap.Hutao Error Log.txt

你期望发生的行为?

No response

最后一步

dgp-bot[bot] commented 5 months ago

device_id: 576A7627EC3E8AFE085FB14085CFE445

Exception Data:
[]:Description:
[]:RestrictedDescription:
[]:RestrictedErrorReference:
[]:RestrictedCapabilitySid:
[]:__RestrictedErrorObjectReference:
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010E)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at Microsoft.UI.Xaml.Data.CurrentChangingEventArgs._ICurrentChangingEventArgsFactory.CreateInstance(Object baseInterface, IntPtr& innerInterface)
   at Microsoft.UI.Xaml.Data.CurrentChangingEventArgs..ctor()
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.MoveCurrentToIndex(Int32 i) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 669
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.MoveCurrentTo(T item) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 245
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.set_CurrentItem(T value) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 107
   at Snap.Hutao.Service.GachaLog.GachaLogService.RefreshGachaLogAsync(GachaLogQuery query, RefreshStrategyKind kind, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 112
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOption option) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 187
   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:
[]:Description:
[]:RestrictedDescription:
[]:RestrictedErrorReference:
[]:RestrictedCapabilitySid:
[]:__RestrictedErrorObjectReference:
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010E)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at Microsoft.UI.Xaml.Data.CurrentChangingEventArgs._ICurrentChangingEventArgsFactory.CreateInstance(Object baseInterface, IntPtr& innerInterface)
   at Microsoft.UI.Xaml.Data.CurrentChangingEventArgs..ctor()
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.MoveCurrentToIndex(Int32 i) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 669
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.MoveCurrentTo(T item) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 245
   at Snap.Hutao.UI.Xaml.Data.AdvancedCollectionView`1.set_CurrentItem(T value) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Data\AdvancedCollectionView.cs:line 107
   at Snap.Hutao.Service.GachaLog.GachaLogService.RefreshGachaLogAsync(GachaLogQuery query, RefreshStrategyKind kind, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 112
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOption option) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 187
   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 (0x8001010D): 因為應用程式正在發送同步輸入呼叫,所以無法建立傳出呼叫。

因為應用程式正在發送同步輸入呼叫,所以無法建立傳出呼叫。

   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.Extension.AppNotificationBuilderExtension.Show(AppNotificationBuilder builder, AppNotificationManager manager) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Extension\AppNotificationBuilderExtension.cs:line 18
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 108
   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)
dgp-bot[bot] commented 5 months ago

72a1ec2122c028f2fdae686aa83599e910d1d428 已修复此问题

dgp-bot[bot] commented 5 months ago

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

github-actions[bot] commented 3 months 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.