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

1.10.4 国际服登录闪退 #1774

Closed
4 tasks done
java-acc opened this issue Jun 26, 2024 · 7 comments
Closed
4 tasks done

1.10.4 国际服登录闪退 #1774

java-acc opened this issue Jun 26, 2024 · 7 comments
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Milestone

Comments

@java-acc
Copy link

检查清单

  • 我已阅读 Snap Hutao 文档中的常见问题常见程序异常,我的问题没有在文档中得到解答
  • 我知道文档站的导航栏中有搜索功能,且已经搜索过相关关键词
  • 我的问题不是已完成的问题也不是一个别人已发布的重复的问题

Windows 版本

Windows version: 10.0.22631.3737

Snap Hutao 版本

1.10.4.0

设备 ID

0D478C8BC8A71C6057C7D67EAA944BF9

问题分类

安装和环境

发生了什么?

Faulting application name: Snap.Hutao.exe, version: 1.0.0.0, time stamp: 0x66470000
Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0, time stamp: 0xe599c973
Exception code: 0xc000027b
Fault offset: 0x00000000004052f5
Faulting process id: 0x0x2A38
Faulting application start time: 0x0x1DAC7E3F4F3808D
Faulting application path: C:\Program Files\WindowsApps\60568DGPStudio.SnapHutao_1.10.4.0_x64__wbnnev551gwxy\Snap.Hutao.exe
Faulting module path: C:\Program Files\WindowsApps\60568DGPStudio.SnapHutao_1.10.4.0_x64__wbnnev551gwxy\Microsoft.ui.xaml.dll
Report Id: 986a9520-e360-470f-b37f-b6c1b0e3effc
Faulting package full name: 60568DGPStudio.SnapHutao_1.10.4.0_x64__wbnnev551gwxy
Faulting package-relative application ID: App

你期望发生的行为?

原神国际服,通过网页登陆以后直接闪退,闪退以后再也无法打开,除非删除本地的SQL Lite数据库才可以正常打开,并且不会闪退,也导致是未登录状态。

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@java-acc java-acc added BUG priority:none Priority not set labels Jun 26, 2024
@dgp-bot

This comment has been minimized.

@dgp-bot dgp-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@dgp-bot dgp-bot bot added the 需要更多信息 需要提交更多信息 label Jun 26, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 26, 2024

device_id: 0D478C8BC8A71C6057C7D67EAA944BF9

Exception Data:
----------------------------------------
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: 无效指针

参数 1 为空或未定义。
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.WinRTUriRuntimeClassFactory.CreateUriForMarshaling(String uri)
   at ABI.System.Uri.CreateMarshaler2(Uri value)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Guid iid, Boolean unwrapObject)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Boolean unwrapObject)
   at ABI.Microsoft.UI.Xaml.Data.ICustomProperty.Vftbl.Do_Abi_GetValue_2(IntPtr thisPtr, IntPtr target, IntPtr* result)
--- End of stack trace from previous location ---
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.ComponentModel.PropertyChangedEventHandler.NativeDelegateWrapper.Invoke(Object sender, PropertyChangedEventArgs e)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(PropertyChangedEventArgs e)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(String propertyName)
   at Snap.Hutao.ViewModel.User.UserViewModel.set_SelectedUser(User value) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 76
   at Snap.Hutao.ViewModel.User.UserViewModel.HandleUserOptionResultAsync(UserOptionResult optionResult, String uid) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 100
   at Snap.Hutao.View.Page.ISupportLoginByWebView.PostHandleCurrentCookieAsync(IServiceProvider serviceProvider, InputCookie inputCookie) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\View\Page\ISupportLoginByWebView.cs:line 41
   at Snap.Hutao.View.Page.LoginHoyoverseUserPage.HandleCurrentCookieAsync() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\View\Page\LoginHoyoverseUserPage.xaml.cs:line 91
   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.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: 无效指针

参数 1 为空或未定义。
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.Uri.CreateMarshaler2(Uri value)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Guid iid, Boolean unwrapObject)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Boolean unwrapObject)
   at ABI.Microsoft.UI.Xaml.Data.ICustomProperty.Vftbl.Do_Abi_GetValue_2(IntPtr thisPtr, IntPtr target, IntPtr* result)
--- End of stack trace from previous location ---
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.ComponentModel.PropertyChangedEventHandler.NativeDelegateWrapper.Invoke(Object sender, PropertyChangedEventArgs e)
   at Snap.Hutao.ViewModel.User.UserViewModel.set_SelectedUser(User value) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 76
   at Snap.Hutao.ViewModel.User.UserViewModel.HandleUserOptionResultAsync(UserOptionResult optionResult, String uid) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 100
   at Snap.Hutao.View.Page.ISupportLoginByWebView.PostHandleCurrentCookieAsync(IServiceProvider serviceProvider, InputCookie inputCookie) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\View\Page\ISupportLoginByWebView.cs:line 41
   at Snap.Hutao.View.Page.LoginHoyoverseUserPage.HandleCurrentCookieAsync() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\View\Page\LoginHoyoverseUserPage.xaml.cs:line 91
   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.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: 无效指针

参数 1 为空或未定义。
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.WinRTUriRuntimeClassFactory.CreateUriForMarshaling(String uri)
   at ABI.System.Uri.CreateMarshaler2(Uri value)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Guid iid, Boolean unwrapObject)
   at WinRT.MarshalInspectable`1.CreateMarshaler2(T o, Boolean unwrapObject)
   at ABI.Microsoft.UI.Xaml.Data.ICustomProperty.Vftbl.Do_Abi_GetValue_2(IntPtr thisPtr, IntPtr target, IntPtr* result)
--- End of stack trace from previous location ---
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.System.ComponentModel.PropertyChangedEventHandler.NativeDelegateWrapper.Invoke(Object sender, PropertyChangedEventArgs e)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(PropertyChangedEventArgs e)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(String propertyName)
   at Snap.Hutao.ViewModel.User.UserViewModel.set_SelectedUser(User value) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 76
   at Snap.Hutao.ViewModel.User.UserViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\User\UserViewModel.cs:line 125
   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 area-LifeCycle App生命周期问题 and removed 需要更多信息 需要提交更多信息 priority:none Priority not set labels Jun 26, 2024
@java-acc java-acc changed the title [Bug]: 在这里填写一个合适的标题 1.10.4 国际服登录闪退 Jun 26, 2024
@dgp-bot dgp-bot bot reopened this Jun 26, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 26, 2024

标题已经修改

@dgp-bot dgp-bot bot added the priority:none Priority not set label Jun 26, 2024
@java-acc
Copy link
Author

@Masterain98 fixed the NPE that came up because of the no avatar issue.

@dgp-bot
Copy link

dgp-bot bot commented Jun 27, 2024

7f06b0a 已修复此问题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release and removed priority:none Priority not set labels Jun 27, 2024
@dgp-bot dgp-bot bot added this to the 1.10.5 milestone Jul 5, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jul 5, 2024

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

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

github-actions bot commented Aug 5, 2024

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 Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Projects
Archived in project
Development

No branches or pull requests

1 participant