0
Fixed

MultiValue Union transformation functions menu errors with "Object reference not set to an instance of an object."

Tony Sheehy 13 years ago updated by anonymous 9 years ago 4

Functions menu for the MultiValue Union transformation errors with:

System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Connect.Web.AdapterController.EditTransformationOnStep(Guid id, Guid transformationId) in c:\workspaces\IdentityBroker\Source\Studio\Unify.Connect.Web\Controllers\AdapterController.cs:line 1294
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
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.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

Can you please debug this scenario? The following line is responsible:

IEnumerable<ControllerActionIdKey> knownKeys = IdentityServiceClient.RetrieveVisibleFactoryKeysForAction(transformationConfiguration.TransformationType, AdapterControllerExtensions.ExtendedUpdateTransformationActionName, RouteData.ExecutingControllerName());

It looks like it is the Adapter.GetTransformationConfiguration not retrieving the transformation with the given id.

Thanks.

Assigning fix version

This has been fixed as of the current build.

Confirmed in prdgrp-test3 and fixed as of the second regression test.