Адрес страницы:
http://127.0.0.1:8000/CRM/ContractorLegal/Create
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в EleWise.ELMA.Model.Managers.EntityManager`2.CanSave(T obj)
в Castle.Proxies.Invocations.EntityManager`2_CanSave_28.InvokeMethodOnTarget()
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.GdCrIDbXlnOBFhRoRJPO(Object )
в EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.Interceptors.AuditInterceptor.PjCYqPQKCp49tPXQbGi6(Object )
в EleWise.ELMA.Runtime.NH.Interceptors.AuditInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.ManagerActionsInterceptor.XaomAJQRv5nVgKxGBjiv(Object )
в EleWise.ELMA.Runtime.NH.ManagerActionsInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.TransactionInterceptor.tiOjYwjtmmyWhDstvr8Q(Object )
в EleWise.ELMA.Runtime.NH.TransactionInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в Castle.Proxies.ContractorManager`1Proxy.CanSave(IContractorLegal obj)
System.Reflection.TargetInvocationException: Адресат вызова создал исключение.
в System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
в System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
в EleWise.ELMA.Actions.Impl.ManagerActionInvokeProvider.<>c__DisplayClass15.<>c__DisplayClass19.g9O9CXjyMBks21T4DiE7(Object , Object , Object )
в EleWise.ELMA.Actions.Impl.ManagerActionInvokeProvider.<>c__DisplayClass15.<>c__DisplayClass19.b__12(ActionInvokeEventArgs e)
в EleWise.ELMA.Actions.ActionInvoker.CheckAction(ActionInvokeEventArgs e)
в EleWise.ELMA.Actions.ActionDispatcherService.Je7d2mpZT85aExR1qt(Object , Object )
в EleWise.ELMA.Actions.ActionDispatcherService.CheckAction(IAuditObject actionObject, IAuditAction actionType, Object[] methodArgs)
в EleWise.ELMA.Actions.ActionDispatcherService.InvokeAction(IAuditObject actionObject, IAuditAction actionType, Object[] methodArgs)
в EleWise.ELMA.Runtime.NH.ManagerActionsInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.TransactionInterceptor.tiOjYwjtmmyWhDstvr8Q(Object )
в EleWise.ELMA.Runtime.NH.TransactionInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Model.Managers.AbstractNHEntityManager`2.EleWise.ELMA.Model.Managers.IEntityManager.Save(Object obj)
в EleWise.ELMA.Model.Managers.EntityImplManager`3.Save(Object obj)
в EleWise.ELMA.Model.Entities.Entity`1.Save()
в EleWise.ELMA.CRM.Managers.CategoryAssignMethodManager.SaveWithCategoryRules(IEntity`1 entity, ISet`1 categories, CategoryRuleType categoryRuleType, RuleDeletedCategoryAction ruleDeletedCategoryAction)
в EleWise.ELMA.CRM.Managers.ContractorManager.SaveWithCategoryRules(IContractor contractor, RuleDeletedCategoryAction ruleDeletedCategoryAction)
в EleWise.ELMA.CRM.Web.Models.ContractorBaseModel`1.SaveWithCategoryRules(RuleDeletedCategoryAction ruleDeletedCategoryAction)
в EleWise.ELMA.CRM.Web.Controllers.ContractorLegalController.Create(ContractorLegalModel model)
в lambda_method(Closure , ControllerBase , Object[] )
в System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
в System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.b__10()
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
в System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
в System.Web.Mvc.Controller.ExecuteCore()
в System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
в System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext)
в Orchard.Mvc.Routes.ShellRoute.HttpHandler.ProcessRequest(HttpContext context)
в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
в System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Нажмите, чтобы раскрыть...