I have my custom tables and form in d365fo dev environment. while saving any new changes it stops me from saving changes and throws object reference not set to an instance error
The screenshot you shared is about a class and not tables/forms. So is this class is created by you?
how about you delete this class or at least delete the changes you made on it if it was checked in before, then build your project, close VS and create it again or add your new changes again?
Thanks,
Layan Jweihan
Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
Does the error appear at a certain line of code? If so review the code and ensure that u fix anything u find wrong
If the error is appearing when saving changes to a form, review the form design and that you didn't miss anything
Maybe take a screenshot and show us?
Also make sure you are opening VS as an admin. Also maybe try to close VS and open it again.
Another thing you can try is building the project or your module.
Thanks,
Layan Jweihan
Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.