Server Error in '/' Application.

Collection was modified; enumeration operation may not execute.

Description: An unhandled exception occurred.

Exception Details: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

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:


[InvalidOperationException: Collection was modified; enumeration operation may not execute.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +59
   System.Collections.Generic.Enumerator.MoveNextRare() +45
   Constellation.Foundation.ModelMapping.ModelBuilder.MapItemFieldsFromPlan(Item item, Object model, MappingPlan plan) +2361
   Constellation.Foundation.ModelMapping.ModelBuilder.MapItemToModel(Item item, Object model) +479
   Constellation.Foundation.ModelMapping.ModelMapper.MapItemToNew(Item item) +81
   Constellation.Foundation.Mvc.Patterns.Controllers.DatasourceRenderingController`1.GetModel(Item datasource, Item contextItem) +88
   Constellation.Foundation.Mvc.ConventionController.Index() +145
   lambda_method(Closure , ControllerBase , Object[] ) +90
   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) +521


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