When trying to view a Running Workflow, I receive the below error.
Object reference not set to an instance of an object. at Microsoft.SharePoint.SPQuery..ctor(SPView view)
at Microsoft.SharePoint.ApplicationPages.WrkStatPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Troubleshoot issues with Windows SharePoint Services.
The navigation path is below:
1) From the list item, select the menu dropdown for Workflows.
2) Under Running Workflows, click the workflow.
3) You will see the below error.
How do I resolve this