Closed putaomeiyoupi closed 9 months ago
device_id: ECD1F80EB7B017D3B1DE9577570C3B87
Exception Data:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'key')
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at System.Collections.Generic.CollectionExtensions.GetValueOrDefault[TKey,TValue](IReadOnlyDictionary`2 dictionary, TKey key, TValue defaultValue)
at System.Collections.Generic.CollectionExtensions.GetValueOrDefault[TKey,TValue](IReadOnlyDictionary`2 dictionary, TKey key)
at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemId(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 122
at Snap.Hutao.Service.GachaLog.UIGFImportService.<>c__DisplayClass4_0.<ImportAsync>b__5(UIGFItem i) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 80
at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
at Snap.Hutao.Service.GachaLog.UIGFImportService.ImportAsync(GachaLogServiceMetadataContext context, UIGF uigf, ObservableCollection`1 archives) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 77
at Snap.Hutao.Service.GachaLog.GachaLogService.ImportFromUIGFAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 123
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.TryImportUIGFInternalAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 374
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.ImportFromUIGFJsonAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 229
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 'key')
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemId(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 122
at Snap.Hutao.Service.GachaLog.UIGFImportService.<>c__DisplayClass4_0.<ImportAsync>b__5(UIGFItem i) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 80
at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
at Snap.Hutao.Service.GachaLog.UIGFImportService.ImportAsync(GachaLogServiceMetadataContext context, UIGF uigf, ObservableCollection`1 archives) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 77
at Snap.Hutao.Service.GachaLog.GachaLogService.ImportFromUIGFAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 123
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.TryImportUIGFInternalAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 374
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.ImportFromUIGFJsonAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 229
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 'key')
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at System.Collections.Generic.CollectionExtensions.GetValueOrDefault[TKey,TValue](IReadOnlyDictionary`2 dictionary, TKey key, TValue defaultValue)
at System.Collections.Generic.CollectionExtensions.GetValueOrDefault[TKey,TValue](IReadOnlyDictionary`2 dictionary, TKey key)
at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemId(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 122
at Snap.Hutao.Service.GachaLog.UIGFImportService.<>c__DisplayClass4_0.<ImportAsync>b__5(UIGFItem i) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 80
at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
at Snap.Hutao.Service.GachaLog.UIGFImportService.ImportAsync(GachaLogServiceMetadataContext context, UIGF uigf, ObservableCollection`1 archives) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\UIGFImportService.cs:line 77
at Snap.Hutao.Service.GachaLog.GachaLogService.ImportFromUIGFAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 123
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.TryImportUIGFInternalAsync(UIGF uigf) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 374
at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.ImportFromUIGFJsonAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 229
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()
请提供小助手导出的json文件 @putaomeiyoupi
请提供小助手导出的json文件 @putaomeiyoupi
小助手的问题,联系小助手客服。
参考信息:数据中出现"name": null
椰羊UIAF1.1.20240319211629.json 这份样本也会闪退,供参考
椰羊UIAF1.1.20240319211629.json 这份样本也会闪退,供参考
如果你确实遇到问题,请新开Issue,不要在无关的Issue下跟评
检查清单
Windows 版本
22631.3155
Snap Hutao 版本
1.9.7.0
设备 ID
ECD1F80EB7B017D3B1DE9577570C3B87
问题分类
祈愿记录
发生了什么?
导入从提瓦塔小助手导出的祈愿记录,然后就程序闪退了。
你期望发生的行为?
希望将提瓦特小助手的祈愿记录与胡桃的合并。
https://github.com/DGP-Studio/Snap.Hutao/assets/156564853/447fe232-a6f8-4f72-bd97-78d9e8171ba3
最后一步