Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article helps administrators resolve issues related to an error message in the Resource Scheduling Optimization add-in for Microsoft Dynamics 365 Field Service.
Symptoms
An optimization request fails, and you receive the following error message:
Object reference not set to an instance of an object.
Resolution
Typically, this issue occurs when a custom plug-in runs into an unhandled null value. It can occur because of:
- A custom plug-in that's triggered synchronously on the creation of a booking.
- A work order update.
- A booking-related record.
- A record that could be impacted when the results are returned by an optimization run.
System customizers can use the plug-in trace log capability to identify which plug-in fails and address the issue.
Caution
After the debugging is completed, disable the plug-in trace logging as soon as possible to avoid overloading the organization's database.