Forum Discussion

DGMalcolm's avatar
DGMalcolm
Iron Contributor
Aug 29, 2022

SCOM 2019 Reporting Error - "Cannot execute report"

Running SCOM 2019 with UR4 on a single DB server with 2 management servers.

 

A bit baffled - I have a logical disk space report that has been running in my SCOM environment since SCOM 2016 and I've never had a problem with it. This is a 3rd party report that I found in the community and added to SCOM. I've used it to create daily logical disk space reports for 4 different groups of servers. These are schedule reports that run every morning ~6:00. This worked normally until last week - on Tuesday morning all 4 reports showed normal data, on Wednesday all 4 reports were empty. I tried to run the report from the console and this error pops up:

 

Application: Operations Manager
Application Version: 10.19.10569.0
Severity: Error
Message: Cannot execute report.

System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.RunReportJob(Object sender, ConsoleJobEventArgs args)

 

As far as I know there were no changes made to the environment last week and certainly not between Tuesday 6:00 AM and Wednesday 6:00 AM. The server was updated the week before but ran reports for 5 days successfully after that. Also, all of the out-of-the-box reports appear to run normally. Even reports that come with the Veeam Management Pack for VMware still work properly. It's just this one report that seems to be broken. Any thoughts?

 

TIA

~DGM~

4 Replies

    • Yannick__'s avatar
      Yannick__
      Copper Contributor
      Hi, the error "Object reference not set to an instance of an object" typically can mean that the object e.g. a Server that is selected for the report to show does not exist anymore in the SCOM databases. I would suggest to load the report in SSRS Report Builder or Visual Studio and validate and verify its configuration and functionality.
      • DGMalcolm's avatar
        DGMalcolm
        Iron Contributor
        I've run the queries included in the report and they work. But I can't run the report even from Report Builder.

Resources