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

Clicking physical back button crashes the app #14

Open
Cfun1 opened this issue Apr 11, 2021 · 0 comments
Open

Clicking physical back button crashes the app #14

Cfun1 opened this issue Apr 11, 2021 · 0 comments
Labels
bug Something isn't working external Caused by package/framework issue

Comments

@Cfun1
Copy link
Owner

Cfun1 commented Apr 11, 2021

Clicking physical back button crashes the app:

android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.CommunityToolkit.ToolkitPlatform.get_Context () [0x0000f] in <83bd83002ae142b6a5905a0910e93e54>:0
at Xamarin.CommunityToolkit.UI.Views.ImageSourceValidator.IsImageSourceValidAsync (Xamarin.Forms.ImageSource source) [0x00028] in <83bd83002ae142b6a5905a0910e93e54>:0
at Xamarin.CommunityToolkit.UI.Views.AvatarView.OnSourcePropertyChanged (System.Boolean isBindingContextChanged) [0x0030d] in <83bd83002ae142b6a5905a0910e93e54>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <9435458933084e1282f8b85d1e02e8d9>:0
at Android.App.SyncContext+<>c__DisplayClass2_0.b__0 () [0x00000] in <607c0542851844e698784498ff8ed2d5>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <607c0542851844e698784498ff8ed2d5>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <607c0542851844e698784498ff8ed2d5>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.64(intptr,intptr)

A XamarinCommunityToolkit bug xamarin/XamarinCommunityToolkit#1345.

@Cfun1 Cfun1 added bug Something isn't working help wanted Extra attention is needed external Caused by package/framework issue labels Apr 11, 2021
@Cfun1 Cfun1 changed the title When on release environment clicking physical back button crashes the app Clicking physical back button crashes the app Apr 22, 2021
@Cfun1 Cfun1 removed the help wanted Extra attention is needed label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Caused by package/framework issue
Projects
None yet
Development

No branches or pull requests

1 participant