You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
System.NullReferenceException: Can't access view
at Xamarin.CommunityToolkit.Extensions.SemanticExtensions.PlatformSetSemanticFocus (Xamarin.Forms.VisualElement element) [0x00006] in <389767a4cf3749e5869ae1140d863911>:0
at Xamarin.CommunityToolkit.Extensions.SemanticExtensions.SetSemanticFocus (Xamarin.Forms.VisualElement element) [0x00000] in <389767a4cf3749e5869ae1140d863911>:0
at Covid19Radar.Views.HomePage.OnAppearing () [0x00008] in /Users/{user name}/Documents/Repos/GitHub/cocoa-mhlw/cocoa/Covid19Radar/Covid19Radar/Views/HomePage/HomePage.xaml.cs:49
at Xamarin.Forms.Page.SendAppearing () [0x00045] in D:\a\1\s\Xamarin.Forms.Core\Page.cs:452
at Xamarin.Forms.Page.SendAppearing () [0x00068] in D:\a\1\s\Xamarin.Forms.Core\Page.cs:456
at Xamarin.Forms.Platform.Android.FlyoutPageRenderer.FlyoutPageAppearing (System.Object sender, System.EventArgs e) [0x00011] in D:\a\1\s\Xamarin.Forms.Platform.Android\AppCompat\FlyoutPageRenderer.cs:382
at at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)
at Xamarin.Forms.Page.SendAppearing () [0x0004b] in D:\a\1\s\Xamarin.Forms.Core\Page.cs:453
at Xamarin.Forms.Platform.Android.FlyoutPageRenderer.OnAttachedToWindow () [0x00006] in D:\a\1\s\Xamarin.Forms.Platform.Android\AppCompat\FlyoutPageRenderer.cs:292
at Android.Views.View.n_OnAttachedToWindow (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in /Users/builder/azdo/_work/1/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-30/mcw/Android.Views.View.cs:17193
at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.51(intptr,intptr)
不具合の内容 / Describe the bug
タイトルの通り。iOS では問題ない。
原因は #898 のデグレ。
Android だと
ContentPage
のOnAppearing()
でSetSemanticFocus(this)
を呼び出すと、NullReferenceException
が発生する。再現手順 / Steps to reproduce
期待される挙動 / Expected behavior
ホーム画面が表示される。
スクリーンショット / Screenshots
動作環境 / Environments
develop
ブランチ( 1c11fad )その他 / Additional context
The text was updated successfully, but these errors were encountered: