500 An unexpected error has occurred

Exception: Exception of type 'RomanticWeb.Entities.CardinalityException' was thrown.

Controller: Resolver

Action: LegalEntity

   at RomanticWeb.Entities.ResultAggregations.SingleOrDefault.Aggregate(IEnumerable`1 objects) in S:\TeamCity\buildAgent\work\b59ad31af090d0d3\RomanticWeb\Entities\ResultAggregations\SingleOrDefault.cs:line 25
   at RomanticWeb.Entities.ResultPostprocessing.SimpleTransformer.FromNodes(IEntityProxy parent, IPropertyMapping property, IEntityContext context, IEnumerable`1 nodes) in S:\TeamCity\buildAgent\work\b59ad31af090d0d3\RomanticWeb\Entities\ResultPostprocessing\SimpleTransformer.cs:line 34
   at RomanticWeb.Entities.EntityProxy.TryGetMember(GetMemberBinder binder, Object& result) in S:\TeamCity\buildAgent\work\b59ad31af090d0d3\RomanticWeb\Entities\EntityProxy.cs:line 118
   at CallSite.Target(Closure , CallSite , Object )
   at RomanticWeb.Entities.Proxies.DynamicExtensions.InvokeGet(Object target, String propertyName) in S:\TeamCity\buildAgent\work\b59ad31af090d0d3\RomanticWeb\Entities\Proxies\DynamicExtensions.cs:line 82
   at ProxyOf_24573438_Hash.get_RegistrationAuthority()
   at MakoLab.LEI.Models.Resolver.ResolverModelsExtensions.ToLegalEntityModel(ILegalEntity legalEntity)
   at MakoLab.LEI.Models.Resolver.ResolverModelsExtensions.ToModel(ILegalEntityIdentifier legalEntityIdentifier)
   at MakoLab.LEI.Controllers.ResolverController.LegalEntity(String id, Boolean showEuId)
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
                        
Back to top