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.]
   AspenTech.Web.Manager.<>c.<GetAllAuthors>b__21_0(Person z) in D:\a\1\s\AspenTech.Web\Manager\BlogManager.cs:290
   System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) +138
   System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) +28
   System.Linq.<GetEnumerator>d__1.MoveNext() +184
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +283
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +89
   AspenTech.Web.Manager.BlogManager.GetAllAuthors() in D:\a\1\s\AspenTech.Web\Manager\BlogManager.cs:290
   AspenTech.Web.Manager.BlogManager.GetBlogAuthor(String authorName) in D:\a\1\s\AspenTech.Web\Manager\BlogManager.cs:203
   AspenTech.Web.Areas.Campaign.Controllers.BlogArticleController.GetBlogAuthor() in D:\a\1\s\AspenTech.Web\Areas\Aspentech\Controllers\BlogArticleController.cs:122
   lambda_method(Closure , ControllerBase , Object[] ) +86
   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