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]: 删除养成物品之后崩溃 #2290

Open
1 task done
Sczr0 opened this issue Dec 15, 2024 · 1 comment
Open
1 task done

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

Sczr0 opened this issue Dec 15, 2024 · 1 comment
Labels
area-Cultivation 养成计划 priority:none Priority not set 无法稳定复现 can't be reproduced

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Cultivation 养成计划 priority:none Priority not set 无法稳定复现 can't be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants