The "object reference" is a very generic error. Are you on DXP? Can you check Application Insight and check failed request and see telemetry. it will give you a hint of what the website is trying to get from the database.
if you are not on DXP then you can use Sql profiler.
I've experienced this exception from the same method in MetaDataPropertyMapper.AssignMetaFieldValueToProperty when I remove a property from a local block that has been used in product content. I suspect that the null reference happens because AssignMetaFieldValueToProperty cannot find the property to assign the value to. I'm running Commerce 14.
I would say this is a bug. Seems like it only happens for properties in a localblock used in a commerce type.
A workaround is to keep the property in code and add [Obsolete] and [Scafolding(false)] attributes to hide and stop using them.
Hi,
I'm investigating an error, that happens when he try to load a page with product data. A database rollback previously solved the issue, but now it's back.
And the exception:
Any help is appreciated :)