I was getting an exception when I open a “Account” record.
When I verify the CRM server Event Viewer I got this below “NullReferenceException” warning message
NullReferenceException
After spending some time I came to know that the problem was because of customization change I did recently
Reason
- I deleted and recreated a custom field with same schema name but with different data type
- I had the new field added on my ‘Account’ form
Fix
I can’t say that it is a fix but below step worked for me
- Removed the field from the Form
- Publish the customization
- Add the field back to the Form
Here is a useful article which helped me
🙂


![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)

Leave a comment