Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Cohnreznick.Feature.People.Repositories.PeopleRepository.GetPeopleListing(String nameValue, String professionValue, String regionValue, String industryValue, String serviceValue, Int32 pageSize, Int32 pageNumber, String sortValue, String roleValue) in D:\a\1\s\Feature\People\Cohnreznick.Feature.People\Repositories\PeopleRepository.cs:374
   Cohnreznick.Feature.People.Controllers.PeopleListingController.PeopleListing(String name, String profession, String region, String industry, String service, String role, String sort, Int32 page) in D:\a\1\s\Feature\People\Cohnreznick.Feature.People\Controllers\PeopleListingController.cs:21
   lambda_method(Closure , ControllerBase , Object[] ) +566
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +34
   System.Web.Mvc.<>c__DisplayClass24_0.<InvokeActionMethodWithFilters>b__0() +79
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +524


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0