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]: 用网页缓存导出祈愿记录的时候崩溃 #2421

Closed
1 task done
uatens opened this issue Feb 1, 2025 · 2 comments
Closed
1 task done

[Bug]: 用网页缓存导出祈愿记录的时候崩溃 #2421

uatens opened this issue Feb 1, 2025 · 2 comments
Labels
area-Gacha 祈愿记录

Comments

@uatens
Copy link

uatens commented Feb 1, 2025

Windows 版本

22631.4751

Snap Hutao 版本

1.13.1.0

设备 ID

247CFF1A3D9E78EE589B048E4F23E65D

问题分类

祈愿记录

发生了什么?

使用网页缓存刷新祈愿记录时崩溃
Image

你期望发生的行为?

正常导出祈愿记录

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@uatens uatens added the priority:none Priority not set label Feb 1, 2025
@dgp-bot
Copy link

dgp-bot bot commented Feb 1, 2025

device_id: 247CFF1A3D9E78EE589B048E4F23E65D

Exception Data:
----------------------------------------
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
   at System.IO.Stream.ReadExactly(Span`1 buffer)
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.Match(MemoryStream stream, Boolean isOversea) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 99
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.GetQueryAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 73
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOptionKind optionKind) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 146
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshByWebCacheAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 128
   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.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
   at System.IO.Stream.ReadExactly(Span`1 buffer)
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.Match(MemoryStream stream, Boolean isOversea) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 99
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.GetQueryAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 73
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOptionKind optionKind) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 146
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshByWebCacheAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 128
   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:System.Runtime.InteropServices.COMException
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005)

@dgp-bot dgp-bot bot added the area-Gacha 祈愿记录 label Feb 1, 2025
Copy link

github-actions bot commented Feb 1, 2025

Probable Similar Topics

  1. 50% [Bug]: 网页缓存刷新祈愿记录功能失效 #2124

@dgp-bot dgp-bot bot removed the priority:none Priority not set label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Gacha 祈愿记录
Projects
None yet
Development

No branches or pull requests

2 participants