-
Notifications
You must be signed in to change notification settings - Fork 701
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
Null Reference Exception in ABI.Microsoft.UI.Xaml.Data.ICustomProperty #4926
Comments
Transferring to the WinUI repo for them to take a first investigation. Thanks for reporting this Jan! |
@andrewleader thanks for response. |
@Scottj1s is this stack cswinrt code? |
Hi @Scottj1s, could you confirm that stack trace is from WinRT? |
I'm also hitting this seemingly randomly, every once in a while, PropertyChanged throws exactly this NullReferenceException with the StackTrace above.
Is there any additional information we can provide to aid in debugging this? Not knowing when and how often this crash will occur in production makes me quite nervous to deploying our app. @anawishnoff could you look into prioritizing this? For me this occurs on Windows 10 20H2 (19042). |
@Marv51 bug is reported in CsWinRt and is planned for release 1.2.8 for June 15 |
Is there any kind of workaround to work with WinUI 3 and PropertyChanged notifications more reliably? My app crashes from this after maximum 10 minutes of use, is that the experience that everyone is having? |
I can confirm that this still reproduces in 0.8.0-preview |
@Marv51 I think it is not related to WinUI (as bug location), so reunion 0.8 won't affect it. |
Closing this issue as it seems to have been resolved, see thread: microsoft/CsWinRT#840 |
Describe the bug
First think, I'm not sure, it should be here, but I don't know about better place.
In my app I get Null Reference exception, when I'm trying to Notify Property Change. Null exception but throw after some time, with no specific time or user flow through app, it is random. Problem is probably in function Do_Abi_GetValue_2, but i'm not sure. Here is stack trace of exception:
Exception has no other useful information (I think), no keys or values related to exception. I tried to find, what was null, but without success.
Steps to reproduce the bug
Steps to reproduce the behavior:
Repo link - This is copy of real repo, but with changed DB info
Expected behavior
No exception, property changed notification should work okay.
Version Info
Windows 10 Insider, tested on multiple versions including 21364.1
NuGet package version:
[WinUI 3 - Project Reunion 0.5: 0.5.6]
Additional context
The text was updated successfully, but these errors were encountered: