-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] NullReferenceException in the Shell on UWP #12652
Comments
@holecekp can you test on 5.0.0 pre3 and let me know if you see the same exception? |
@PureWeen Yes, after about 30 minutes of trying, I was able to reproduce this crash also in 5.0.0 pre 3. |
@holecekp do you have a repro I can play with? |
@PureWeen I have created a repro and I was able to reproduce the NRE for 4 times in it. Steps:
After some time, when I click on a flyout item in the shell menu, the application crashed. It was different flyout item every time. It seems that there is a great deal of randomness. I am including screen shots. This time I got only message without a stack trace. I have subscribed App.UnhandledException event in the UWP project but it did not helped (still no stack trace). I have enabled debugging also in native code and tried to load required symbols but I only got message that required symbols could not be loaded (again, screenshot is included). I have used another computer so I can rule out the case that this would be a problem only of a single specific computer (corrupted system libraries, configuration, etc.). I have included also Android version for comparison, but you can ignore it as only UWP version crashes. |
Description
I am experiencing random crashes in my Xamarin.Forms application on UWP. This specific crash occurred when I clicked on a flyout item in the shell menu to navigate to another page.
System.NullReferenceException: Object reference not set to an instance of an object.
Stack trace (from AppCenter):
OS: WINDOWS 10.0.18363
Crashed after: 18m 51s
Steps to Reproduce
Expected Behavior
The application is stable and does not crash.
Actual Behavior
The debug version is stable but the release version downloaded from Microsoft Store crashes on some occasions.
Basic Information
Microsoft.AppCenter.Crashes (3.4.3)
Microsoft.NETCore.UniversalWindowsPlatform (6.2.10)
Xamarin.Essentials (1.5.3.2)
Xamarin.Forms (4.8.0.1560)
Reproduction Link
This issue occurs randomly so it is not possible to create a project for reproducing it.
Workaround
No workaround
The text was updated successfully, but these errors were encountered: