DGP-Studio / Snap.Hutao

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

[Bug]: 胡桃云上传祈愿记录时会不定时闪退 #1328

Closed Georgebillion closed 9 months ago

Georgebillion commented 10 months ago

检查清单

Windows 版本

19045.2846

Snap Hutao 版本

1.9.5

设备 ID

713B2DC293772C50780E258915CA3D71

问题分类

祈愿记录

发生了什么?

在上传祈愿记录到胡桃云时,胡桃本体会有概率闪退,且发生在打开胡桃程序一段时间后

你期望发生的行为?

修复该问题

最后一步

dgp-bot[bot] commented 10 months ago

device_id: 713B2DC293772C50780E258915CA3D71

Exception Data:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.RefreshUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 140
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 70
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.RefreshUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 140
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 70
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.RefreshUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 140
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 70
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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()
Lightczx commented 10 months ago

@Georgebillion 提供你的胡桃通行证邮箱与你上传时的UID

Georgebillion commented 10 months ago

@Georgebillion 提供你的胡桃通行证邮箱与你上传时的UID

zhhyylove8@163.com UID:142967086

Lightczx commented 10 months ago

@Georgebillion 官网找公告群,加群找管理拉你进远程调试群

qhy040404 commented 9 months ago

/log

dgp-bot[bot] commented 9 months ago

device_id: 713B2DC293772C50780E258915CA3D71

Exception Data:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.Service.GachaLog.GachaLogHutaoCloudService.GetEndIdsFromCloudAsync(String uid, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogHutaoCloudService.cs:line 123
   at Snap.Hutao.Service.GachaLog.GachaLogHutaoCloudService.UploadGachaItemsAsync(GachaArchive gachaArchive, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogHutaoCloudService.cs:line 40
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.UploadAsync(GachaArchive gachaArchive) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 94
   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:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.Service.GachaLog.GachaLogHutaoCloudService.GetEndIdsFromCloudAsync(String uid, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogHutaoCloudService.cs:line 123
   at Snap.Hutao.Service.GachaLog.GachaLogHutaoCloudService.UploadGachaItemsAsync(GachaArchive gachaArchive, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogHutaoCloudService.cs:line 40
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.UploadAsync(GachaArchive gachaArchive) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 94
   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:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'Data')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Web.Response.Response`1.IsOk(Boolean showInfoBar, IServiceProvider serviceProvider) in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\Web\Response\Response.cs:line 107
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.RefreshUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 140
   at Snap.Hutao.ViewModel.GachaLog.HutaoCloudViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\HutaoCloudViewModel.cs:line 70
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-0rgu3i8eehje5o86\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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()
Lightczx commented 9 months ago

fixed by https://github.com/DGP-Studio/Snap.Hutao.Server/commit/9062307ecd6b98d05323bacc5a2def9b2e9fb57d

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