WorkSafeBC Home

Cannot perform runtime binding on a null reference

Server Error in '/' Application.

Cannot perform runtime binding on a null reference

Description: An unhandled exception occurred.

Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference

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:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object ) +200
   System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +344
   CallSite.Target(Closure , CallSite , Object ) +221
   Worksafe.Website.Core.Services.NavigationService.BuildBreadcrumb() in d:\Bamboo-Home\xml-data\build-dir\WSBC-WEB2-JOB1\Worksafe.Website.Core\Services\NavigationService.cs:58
   Worksafe.Website.Mvc.Controllers.NavigationController.Breadcrumb() in d:\Bamboo-Home\xml-data\build-dir\WSBC-WEB2-JOB1\Worksafe.Website.Mvc\Controllers\NavigationController.cs:26
   lambda_method(Closure , ControllerBase , Object[] ) +79
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +242
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +120
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +637
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +637
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +307
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +686

Object moved

Object moved to here.