WorkSafeBC Home Home

Topic:

Item cannot be null

Server Error in '/' Application.

Item cannot be null

Description: An unhandled exception occurred.

Exception Details: Sitecore.Exceptions.InvalidItemException: Item cannot be null

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:


[InvalidItemException: Item cannot be null]
   Worksafe.Website.Core.Util.SitecorePageHelper.GetAlternatePageTitle(Item item) +159
   Worksafe.Website.Core.Services.PageComponentService.<GetLinkListItems>b__8_0(Item item) +212
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +241
   System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +463
   Worksafe.Website.Core.Services.PageComponentService.GetLinkListItems(LinkListType type, ICuratedLinkListParametersModel parameters) +690
   Worksafe.Website.Mvc.Controllers.PageComponentController.DynamicLinkListRendering() +163
   lambda_method(Closure , ControllerBase , Object[] ) +87
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass24_0.<InvokeActionMethodWithFilters>b__0() +80
   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