.Login to Stage.
2.Navigate to Home >> Benadmin Home >> PCORI report.
3.Add required details.
4.Do not select company
5.click on preview
6.observe the page
Actual Result: Received server error.
Expected Result: Report should run without error.
Error Log :
Exception : Value cannot be null.Parameter name: source
App Error Log : -
Employee ID : 0
Action Name : PCORIReport
Model : System.Web.Mvc.HandleErrorInfo
Controller : ACA
Web Error Log : at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
at WORKTERRA.BenAdmin.Areas.ACA.Models.ACAAnalytics.PCORIModel.GetPCORIReport(Boolean IsGlobalLevel)
at WORKTERRA.BenAdmin.Areas.ACA.Controllers.ACAController.PCORIReport(Boolean IsGlobalLevel)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.b_12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.<>cDisplayClass17.b_14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.<>cDisplayClass17.b_14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
CC- Rakesh Roy Sachin Hingole Smita Pawar