Evolution 1.10.1.0
SQL Server
El Cliente está utilizando la versión de OmniExpediente, y al ingresar a la sección Forma de Pago de un expediente cualquiera, generaba el error "La lista de valores TiposCuentaBancoExpediente no está registrada para el controller Aseinfo.VH4.Expedientes.Controller.OmniExpedienteController", por lo que procedí a asociar la lista de valores al OmniExpediente.
Ahora ingreso a la sección Forma de Pago de cualquier expediente, y obtengo el mensaje de error "Object reference not set to an instance of an object. at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController". 
¿A qué podría deberse el error? ¿Qué configuración puedo aplicar para resolver?
Este error ocurre solamente cuando el OmniExpediente no tiene asociada una forma de pago.
El error registrado en el ELMAH es el siguiente:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController.<>cDisplayClass47_0.<crearviewdataformapagoempleo>b1(ValueListItem e) in C:worka3e0cbded2a6d4b3VH4ExpedientesControllersOmniExpedienteController.cs:line 890
   at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
   at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
   at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController.CrearViewDataFormaPagoEmpleo(Nullable1 codigoFormaPago, Nullable1 codigoBanco, String codigoMoneda, CuentaBancoExpediente cuentaBancoExpediente) in C:worka3e0cbded2a6d4b3VH4ExpedientesControllersOmniExpedienteController.cs:line 888
   at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController.CrearViewDataFormaPagoEmpleo(FormaPagoEmpleo formaPagoEmpleo, CuentaBancoExpediente cuentaBancoExpediente) in C:worka3e0cbded2a6d4b3VH4ExpedientesControllersOmniExpedienteController.cs:line 864
   at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController.EditFormaPago(Int32 id) in C:worka3e0cbded2a6d4b3VH4ExpedientesControllersOmniExpedienteController.cs:line 750
   at Aseinfo.VH4.Expedientes.Controllers.OmniExpedienteController.CreateFormaPago(Int32 id) in C:worka3e0cbded2a6d4b3VH4ExpedientesControllersOmniExpedienteController.cs:line 695
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<begininvokesynchronousactionmethod>b39(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>b3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<>cDisplayClass2b.<begininvokeaction>b1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<begininvokeaction>b__1e(IAsyncResult asyncResult)
La siguiente imagen muestra la configuración de la lista de valores:
[1]: https://qa.aseinfo.net/osqa/upfiles/TiposCuentaBancoExpediente.png
                             
                                                        
                                
                                
                            
                            
                                    
    
        asked
        19 May '17, 09:17
    
    
    Henry Sandoval
    (suspended)
    
    accept rate:
    53%