Wednesday, March 19, 2014

Review Timer Job Definition - "Object Reference not set to an instance of an object"

Hi All,

Recently had a problem in SharePoint 2013 after rebuilding the Search service application. The timer job for 'CreateStoreRebalancerJobDefinition' had broken and was causing the Review Timer Job page to error with "Object Reference not set to an instance of an object" error.

The resolution was from:

  • Get-SPTimerJob | out-file –filepath “c:\timerjobs.txt”
  • http://myserver:55555/_admin/ServiceJobDefinitions.aspx – Does not display
  • Get-SPTimerJob | where {$_.displayname -like “”} | fl | out-file –filepath “c:\timerjobs.txt”
    (Creates the txt file with the jobs that do not work)
  • Get-SPTimerJob | where { $_.name -like “*job name” } |ft id,name
    (Not really needed, as text file above will display thiws, simply copy/paste into line below the job id number.)
  • $job = Get-SPTimerJob -id putidenumberhere
  • $job.Delete()
  • Pretty swift, fixed the issue.

  • Source: http://social.technet.microsoft.com/Forums/en-US/266b6e78-4d4d-4f40-8db2-f42f5da4d3ed/review-timer-job-definition-page-errror-object-reference-not-set-to-an-instance-of-an-object?forum=sharepointadminprevious