WriteJson: Object reference not set to an instance of an object.
#35530
Labels
Object reference not set to an instance of an object.
#35530
Bug description
Small model, trying to add a new entity. EF Core odly enough throws a null ref exception.
The last stack frame is at:
The result of
property.GetJsonValueReaderWriter() ?? property.GetTypeMapping().JsonValueReaderWriter;
is null for a dictionary?Your code
Stack traces
Verbose output
EF Core version
9.0.1
Database provider
Npgsql.EntityFrameworkCore.PostgreSQL
Target framework
.NET 9
Operating system
Windows 10
IDE
Rider
The text was updated successfully, but these errors were encountered: