Load crashes with NullReference exception

The farm snapshot process crashes with a NullReference exception.

Summary

Upon inspecting the event log after a failed load, the following exception can be found:

TSystem.NullReferenceException: Object reference not set to an instance of an object. at Acceleratio.SPDocKit.Administration.SharePointCrawler.#LJ.#CxF()

This happens when SPDocKit tries to enumerate site collections in a Web application and, because of possible farm misconfigurations, they are not properly available using the SharePoint API. To confirm that this is the case, check your site collections using Central Administration and also by using Powershell.

Get-SPWebApplication [WebAppUrl] | Get-SPSite –Limit All

You should see a discrepancy between the two lists if this is indeed the reason for the load crash.

Application Version: 3.0.0 and newer

Solution

Please check your farm and site collections for any misconfigurations. One of the causes could be a missing managed path or a managed path of the wrong type. If the issue persists, contact our support team for more detailed troubleshooting.

Status: Not resolved.