// Job ID: #397127
using LegalOne.Lib.Queue.Hangfire.Queues;
var monetaryUpdateQueueResolver = Activate<MonetaryUpdateQueueResolver<MonetaryValueUpdaterJob,TaskQueueItemParam<Int32>>>();
monetaryUpdateQueueResolver.Run(
"Monetary value update for: vaccarezza",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":1262,\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"vaccarezza\",\"UserId\":-1,\"BatchId\":null,\"OperationId\":\"ZMTVp24S9s8=\",\"EnqueueTime\":\"2025-11-15T21:00:04.8399568-03:00\",\"MutexIdentifier\":null}"),
null);
"0ce2a7d6-47f0-49fe-8435-1069a61952c4""es-AR""es-AR"An exception occurred during performance of the job.
Error on Monetary value update for: vaccarezza. See inner exception for more details.
System.ApplicationException: Error on Monetary value update for: vaccarezza. See inner exception for more details. ---> System.AggregateException: One or more errors occurred. ---> LegalOne.Lib.CA.Lib.Licencas.WebService.WSLicenseTimeOutException: Exception of type 'LegalOne.Lib.CA.Lib.Licencas.WebService.WSLicenseTimeOutException' was thrown. at LegalOne.Lib.CA.Lib.Licencas.WebService.WSLicenseChannel.GetLicense(Int32 idInstancia) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\CA\Lib\Licencas\WebService\WSLicenseChannel.cs:line 98 at LegalOne.Lib.CA.Lib.Licencas.LegalOneLicenseManager.GetLicenseData() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\CA\Lib\Licencas\LegalOneLicenseManager.cs:line 75 at LegalOne.Lib.CA.Lib.Licencas.LegalOneLicenseManager.GetLicense() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\CA\Lib\Licencas\LegalOneLicenseManager.cs:line 54 at LegalOne.Lib.ModelEvents.Handlers.Workflow.WorkflowModelEventsHandler.RegisterHandlersInContext(IModelEventsContext context, BaseAccesControlManager accesControlManager) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\ModelEvents\Handlers\Workflow\WorkflowModelEventsHandler.HandlerRegistration.cs:line 117 at LegalOne.Lib.ModelEvents.ModelEventsProfileProvider.CreateStandardProfile(BaseAccesControlManager accesControlManager) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\ModelEvents\ModelEventsProfileProvider.cs:line 194 at LegalOne.Lib.ModelEvents.ModelEventsProfileProvider.GetModelEventsProfile(Int32 modelEventsProfileEnumeration) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\ModelEvents\ModelEventsProfileProvider.cs:line 515 at Novajus.Model.NovajusEntities.GetModelEventsContext(Nullable`1 modelEventsProfileEnumeration) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Model\Contexts\LegalOne\NovajusEntities.cs:line 1065 at Novajus.Model.NovajusEntities.InternalSaveChanges(Nullable`1 modelEventsProfileEnumeration) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Model\Contexts\LegalOne\NovajusEntities.cs:line 677 at Novajus.Model.NovajusEntities.SaveChanges(Nullable`1 modelEventsProfileEnumeration, ISaveChangesParameter[] parameters) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Model\Contexts\LegalOne\NovajusEntities.cs:line 645 at Novajus.AtualizacaoMonetaria.Atualizacao.ExecutarAtualizacao(NovajusEntities db, NovajusContasEntities dbContas, List`1 grupos, Nullable`1 idObrigacao, Boolean isGridUpdate) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\AtualizacaoMonetaria\Lib\Atualizacao.cs:line 130 at LegalOne.Lib.BusinessLogic.Contexts.Financial.MonetaryUpdate.Middleware.Save.MatterMonetaryUpdateMiddleware.UpdateValuesBase(Func`2 updateGroupGetter, String logMessage, ILegalOneLogger logger, Int32 take, MonetaryUpdateViewModel& result) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Financial\MonetaryUpdate\Middleware\Save\MatterMonetaryUpdateMiddleware.cs:line 264 at LegalOne.Lib.BusinessLogic.Contexts.Financial.MonetaryUpdate.Middleware.Save.MatterMonetaryUpdateMiddleware.UpdateMatterValues(ILegalOneLogger logger, Int32 take, MonetaryUpdateViewModel& result) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Financial\MonetaryUpdate\Middleware\Save\MatterMonetaryUpdateMiddleware.cs:line 179 at LegalOne.Lib.BusinessLogic.Contexts.Financial.MonetaryUpdate.Middleware.Save.MatterMonetaryUpdateMiddleware.UpdateValues() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Financial\MonetaryUpdate\Middleware\Save\MatterMonetaryUpdateMiddleware.cs:line 141 at LegalOne.Lib.BusinessLogic.Contexts.Financial.MonetaryUpdate.Middleware.Save.MatterMonetaryUpdateMiddleware.Invoke(IPiperSaveContext`1 context) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\BusinessLogic\Contexts\Financial\MonetaryUpdate\Middleware\Save\MatterMonetaryUpdateMiddleware.cs:line 67 at LegalOne.Infrastructure.Piper.Context.PiperBaseContext`2.<InvokeNext>d__21.MoveNext() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Infrastructure\Piper\Context\PiperBaseContext.cs:line 94 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LegalOne.Infrastructure.Piper.Context.PiperBaseContext`2.<InvokeNext>d__21.MoveNext() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Infrastructure\Piper\Context\PiperBaseContext.cs:line 94 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LegalOne.Infrastructure.Piper.Context.PiperBaseContext`2.<InvokeNext>d__21.MoveNext() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Infrastructure\Piper\Context\PiperBaseContext.cs:line 94 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LegalOne.Lib.Piper.Flows.SaveFlow.<Execute>d__12`1.MoveNext() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\Piper\Flows\SaveFlow.cs:line 243 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LegalOne.Lib.Pipelines.FlowExecutor.<ExecuteSaveFlow>d__12`1.MoveNext() in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\Pipelines\FlowExecutor.cs:line 181 --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at LegalOne.Lib.Schedulers.MonetaryValueUpdater.MonetaryValueUpdaterJob.Run(TaskQueueItemParam`1 param) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\Schedulers\MonetaryValueUpdater\MonetaryValueUpdaterJob.cs:line 60 at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Execute(TTask task, TTaskParam parameter, Exception& exception) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 231 --- End of inner exception stack trace --- at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Run(String jobDescription, TTaskParam parameter, IJobCancellationToken cancellationToken) in C:\azagent\A4\_work\6\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 169