Summary
When creating a new licensing site in Directory Server 10.4.5, you may see an Object reference not set to an instance of an object. error.
Cause
Licensing site creation takes a long time and displays an Object reference not set to an instance of an object. error on the New Licensing Site page. This will occur in systems where Directory Server has a slow connection to the domain controllers of any trusted domain, causing Directory Server to become unresponsive during this extended site creation period.
Resolution
Use the following workaround to successfully create a licensing site: