0
Fixed

Adding Outgoing Pending Operation ADDS MA result in the following error - System.NullReferenceException: Object reference not set to an instance of an object.

Shane Lim 7 years ago • updated by anonymous 3 years ago 2

I perform the following steps and result in the below error.

1 - Create ADDS Agent
2 - Create an Operation List named "Test Outgoing".
3 - Add Check Operation and select Outgoing Pending Operation Operation, click Create.
4 - Select ADDS MA as the Management Agent and click Create.
5 - Click the Edit Check Operation for this newly create Check Operation. The below error occurred/displayed.

Error
System.NullReferenceException: Object reference not set to an instance of an object.
at ASP._Page_Views_Operation_Index_cshtml.<>c__DisplayClass1.<RenderGroups>b__0(TextWriter __razor_helper_writer) in c:\Program Files\UNIFY Solutions\Event Broker\Web\Views\Operation\Index.cshtml:line 39
at ASP._Page_Views_Operation_Index_cshtml.Execute() in c:\Program Files\UNIFY Solutions\Event Broker\Web\Views\Operation\Index.cshtml:line 19
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.StartPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

Similarly to https://unifysolutions.jira.com/browse/EB-295 management agents were not being refreshed correctly.

Confirmed that the *Outgoing Pending Operation" for ADDS MA is now working.

5/17/2011 6:56:20 PM Information
 UNIFY Event Broker Operation List Executor Operation list ADDS Outgoing Op List started 
5/17/2011 6:56:20 PM Information
 UNIFY Event Broker Operation List Executor Running check operation Outgoing Pending for operation list ADDS Outgoing Op List 
5/17/2011 6:56:20 PM Information
 UNIFY Event Broker Operation List Executor Check operation Outgoing Pending for operation list ADDS Outgoing Op List returned True 
5/17/2011 6:56:21 PM Information
 UNIFY Event Broker Operation List Executor Completed Run Profile operation with id 7d351b9a-4a64-4a7b-ac79-4a2db779cdfb in operation list ADDS Outgoing Op List 
5/17/2011 6:56:21 PM Information
 UNIFY Event Broker Operation List Executor Operation list ADDS Outgoing Op List finished 

Issue fixed.