Buenas tardes,

Tengo un caso de reversión de contrato (Nóminas > Acciones de Personal > Reversión de Contratación), el error que esta dando en el siguiente, AppJobWinService>

At the time of the exception, the container was:

Resolving Aseinfo.VH4.Acciones.Services.ReversionContratacionService,(none) (mapped from Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionService, (none)) Resolving parameter "fondoIncapacidadService" of constructor Aseinfo.VH4.Acciones.Services.ReversionContratacionService(Aseinfo.Infrastructure.Base.Entity.IGenericAppEntityRepository repository, Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionRuleValidator ruleValidator, Aseinfo.VH4.Expedientes.Base.EstructurasSalarialesEmpleo.IEstructuraSalarialEmpleoService estructuraSalarialEmpleoService, Aseinfo.VH4.Expedientes.Base.SegurosMedicosEmpleo.ISeguroMedicoEmpleoService seguroMedicoEmpleoService, Aseinfo.VH4.Expedientes.Base.HabilidadesEmpleos.IHabilidadEmpleoService habilidadEmpleoService, Aseinfo.VH4.Expedientes.Base.EquiposOAccesosEmpleo.IEquipoOAccesoEmpleoService equipoOAccesoEmpleoService, Aseinfo.VH4.Expedientes.Base.FormasPagoEmpleos.IFormaPagoEmpleoService formaPagoEmpleoService, Aseinfo.VH4.Expedientes.Base.BeneficiosAdicionalesRecibidosEmpresasAnteriores.IBeneficioAdicionalRecibidoEmpresaAnteriorService beneficioAdicionalRecibidoEmpresaAnteriorService, Aseinfo.VH4.Expedientes.Base.Empleos.IEmpleoService empleoService, Aseinfo.Infrastructure.Base.Users.IUserService userService, Aseinfo.VH4.Acciones.Base.FondosVacaciones.IFondoVacacionService fondoVacacionService, Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService fondoIncapacidadService, Aseinfo.VH4.Expedientes.Base.HistoricoSalarios.IHistoricoSalarioService historicoSalarioService, Aseinfo.VH4.Expedientes.Base.HistoricoPlazas.IHistoricoPlazaService historicoPlazaService) Resolving Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService,(none) ---> System.InvalidOperationException: The current type, Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService, is an interface and cannot be constructed. Are you missing a type mapping? at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context) at BuildUp_Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService(IBuilderContext ) at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) at BuildUp_Aseinfo.VH4.Acciones.Services.ReversionContratacionService(IBuilderContext ) at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides) --- End of inner exception stack trace --- at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides) at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) at Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob.Execute(JobExecutionContext context) in C:vh4VH4WindowsServicesApplicationJobsWindowsServiceApplicationJobsAccionFinalizacionJob.cs:line 278 2018-11-28 11:16:41,504 [AppJobWinServiceScheduler_Worker-5] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Iniciando la programación del reintento dentro de 10 segundos proceso [Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionService] para ejecutar la finalización: 7b043cde-1742-4022-80e5-af9611d05bd6 2018-11-28 11:16:51,699 [AppJobWinServiceScheduler_Worker-8] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Inicia la ejecución de la finalización: 7b043cde-1742-4022-80e5-af9611d05bd6 2018-11-28 11:16:51,701 [AppJobWinServiceScheduler_Worker-8] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Reconfigurando el contenedor de Unity para la finalización: 7b043cde-1742-4022-80e5-af9611d05bd6 2018-11-28 11:16:51,706 [AppJobWinServiceScheduler_Worker-8] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Inicializando el MetadataService para ejecutar la finalización: 7b043cde-1742-4022-80e5-af9611d05bd6 2018-11-28 11:16:51,892 [AppJobWinServiceScheduler_Worker-10] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.IniciaFlujoEntidadJob - Iniciando Job para Iniciar Flujo 2018-11-28 11:16:51,924 [AppJobWinServiceScheduler_Worker-1] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.EjecucionAlertaJob - Iniciando Job para Ejecutar Alertas 2018-11-28 11:16:51,963 [AppJobWinServiceScheduler_Worker-8] INFO Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Obteniendo el servicio [Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionService] para ejecutar la finalización: 7b043cde-1742-4022-80e5-af9611d05bd6 2018-11-28 11:16:51,989 [AppJobWinServiceScheduler_Worker-8] ERROR Aseinfo.VH4.WindowsServices.ApplicationJobs.AccionFinalizacionJob - Error al inicializar el Job de finalización 7b043cde-1742-4022-80e5-af9611d05bd6 Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Aseinfo.VH4.Acciones.Base.ReversionesContratacion.IReversionContratacionService", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The current type, Aseinfo.VH4.Acciones.Base.FondosIncapacidades.IFondoIncapacidadService, is an interface and cannot be constructed. Are you missing a type mapping?

alt text

Alguien sabe cual podría ser la causa de este error,

Saludos.

asked 28 Nov '18, 15:03

vsamayoa's gravatar image

vsamayoa
(suspended)
accept rate: 0%


Buenas tardes, comentarte que el error que reportas se debe a un error en la configuración del unity tanto del Workflow como del ejecutor de tareas, se creó un issue para corregir el inconveniente y que estará disponible para el próximo hotfix

link

answered 28 Nov '18, 19:26

glemus's gravatar image

glemus
(suspended)
accept rate: 51%

edited 28 Nov '18, 19:27

Muchas gracias por la información

(29 Nov '18, 08:21) vsamayoa vsamayoa's gravatar image

El fue contratado y quiere ser revertido, o fue contratado y hubo algun tipo de movimientos o acciones?

link

answered 28 Nov '18, 17:20

MiguelBustamante's gravatar image

MiguelBustamante
521102110116
accept rate: 31%

El fue contratado, pero quieren revertir el contrato únicamente. No tienen ninguna acción o movimiento adicional.

Saludos.

(28 Nov '18, 17:24) vsamayoa vsamayoa's gravatar image

En la consulta de finalización te muestra algun error?

(28 Nov '18, 18:38) MiguelBustamante MiguelBustamante's gravatar image

No, únicamente da ese mensaje de error en el AppJobWinService.

(29 Nov '18, 08:25) vsamayoa vsamayoa's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×2

Asked: 28 Nov '18, 15:03

Seen: 570 times

Last updated: 29 Nov '18, 08:25

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática