SharePoint Views

Review Job Definitions page error

When you try to access Review Job Definitions page, through Monitoring under Central Administration, you get an error which says ‘Object reference not set to an instance of an object‘.Review Job Definitions page error

This error is usually caused by a corrupt or faulty timer job definition or in some cases a missing dll in GAC.

Resolution:
Find out the faulty timer job definition and get rid of it. Make sure that you take care of the timer job if it is custom developed.

Use the following PowerShell command to find out the faulty timer job

Get-SPTimerJob | ? { $_.DisplayName -eq $null }| select name, Id

Another way to find is to run through ULS logs, you may find something similar to this

System.NullReferenceException: Object reference not set to an instance of an object and some additional details about the job which is causing this. In my case this is caused because of  Microsoft.Office.Server.Search.Administration.CrawlStoreRebalancerJobDefinition

Information regarding this error may also be available in Event Viewer.

Once you know the job which is cause for issue, use PowerShell to delete it

$FaultyJob = Get-SPTimerJob <Guid of the job>

$Faultyjob.Delete()