Binding Crash with "System.ExecutionEngineException" or "System.NullReferenceException"
See original GitHub issueWhen running the following code the programm crashs if there are tow many updates of the Propoerty. The issue only happens on Windows.
public class MyViewModel : ReactiveObject
{
private string _text;
public string Text
{
get => _text;
set
{
this.RaiseAndSetIfChanged(ref _text, value);
}
}
}
<TextBox Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Text="{Binding Text}" ></TextBox>
- OS: Windows (Works on Linux, Mac not tested)
- Version 0.10.0, 0.9.10 (have not tested more than these two versions)
Error message:
A Exception of the type "System.NullReferenceException" happend in Unknown Modul.
or
A Exception of the type "System.ExecutionEngineException" happend in Unknown Modul.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
NullReferenceException during C++ callback to C# function
Debugger told me about System.NullReferenceException } } } }. The problem is that it crashes in 6860th iteration! I believe that the problem ......
Read more >System.ExecutionEngineException almost every time when ...
ExecutionEngineException and the debug session crashes (Visual Studio itself does NOT crash, and I can't really determine if it is less stable ...
Read more >Troubleshooting on iOS devices
Unity includes software-based handling of the NullReferenceException. ... Various crashes occur on the device when a combination of System.Security.
Read more >NullReferenceException when building Xamarin Android ...
I've been trying to build a Xamarin Android Binding Library having a .jar file in it. ... BINDINGSGENERATOR : error BG0000: System.
Read more >Getting System.NullReferenceException crash : r/Bannerlord
Getting System.NullReferenceException crash. Hello there. After 600 days in game I started to get this crash. When I load a save that is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Original issue was caused by invoking UI code on non UI thread. So I am closing this.
@cezarypiatek your issue seems to be same as here https://github.com/AvaloniaUI/Avalonia/issues/8810
@cezarypiatek Let’s see. If you manage to do so, or if you can share all your code, it may be easier for us to get the root cause.
Thanks for your effort.