Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: 删除养成物品之后崩溃 #2290

Closed
1 task done
Sczr0 opened this issue Dec 15, 2024 · 4 comments
Closed
1 task done

[Bug]: 删除养成物品之后崩溃 #2290

Sczr0 opened this issue Dec 15, 2024 · 4 comments
Labels
area-Cultivation 养成计划 已完成 This issue is completed 无法稳定复现 can't be reproduced
Milestone

Comments

@Sczr0
Copy link

Sczr0 commented Dec 15, 2024

Windows 版本

19045.5131

Snap Hutao 版本

1.12.7.0

设备 ID

ADC9934F708363D6992F901012966FA9

问题分类

养成计算

发生了什么?

删除一个养成物品之后胡桃崩溃
Snap.Hutao Error Log.txt

你期望发生的行为?

正常删除该养成物品

最后一步

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

dgp-bot bot commented Dec 15, 2024

device_id: ADC9934F708363D6992F901012966FA9

Exception Data:
[string]:Description:参数错误。

[string]:RestrictedDescription:The value cannot be converted to type Brush
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
   at ABI.System.Collections.Specialized.NotifyCollectionChangedEventHandler.NativeDelegateWrapper.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.Collection`1.Remove(T item)
   at Snap.Hutao.ViewModel.Cultivation.CultivationViewModel.RemoveEntryAsync(CultivateEntryView entry) in C:\Users\Public\appveyor\Snap.Hutao-cw172wqqkdjl9pus\src\Snap.Hutao\Snap.Hutao\ViewModel\Cultivation\CultivationViewModel.cs:line 189
   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 'reference.Window')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Core.LifeCycle.CurrentXamlWindowReferenceExtension.GetXamlRoot(ICurrentXamlWindowReference reference) in C:\Users\Public\appveyor\Snap.Hutao-78xwnn2p82h7pewu\src\Snap.Hutao\Snap.Hutao\Core\LifeCycle\CurrentXamlWindowReferenceExtension.cs:line 14
   at Snap.Hutao.Factory.ContentDialog.ContentDialogFactory.CreateForConfirmCancelAsync(String title, String content, ContentDialogButton defaultButton) in C:\Users\Public\appveyor\Snap.Hutao-78xwnn2p82h7pewu\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 48
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in C:\Users\Public\appveyor\Snap.Hutao-78xwnn2p82h7pewu\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 125
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeOverrideAsync() in C:\Users\Public\appveyor\Snap.Hutao-78xwnn2p82h7pewu\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 69
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.InitializeAsync() in C:\Users\Public\appveyor\Snap.Hutao-78xwnn2p82h7pewu\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 48
   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-Cultivation 养成计划 label Dec 15, 2024
@Lightczx Lightczx added the 无法稳定复现 can't be reproduced label Dec 23, 2024
@dgp-bot
Copy link

dgp-bot bot commented Dec 27, 2024

9f31668 已完成此议题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Dec 27, 2024
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Dec 27, 2024
@dgp-bot dgp-bot bot moved this to 完成 in Snap Hutao Development Dec 27, 2024
@dgp-bot dgp-bot bot added this to the 1.13.0 milestone Jan 8, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 8, 2025

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

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jan 8, 2025
Copy link

github-actions bot commented Feb 8, 2025

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
area-Cultivation 养成计划 已完成 This issue is completed 无法稳定复现 can't be reproduced
Projects
Development

No branches or pull requests

2 participants