// Id: #7375832
using Inpart.Integracao.GerenciadorJobs.Services;
var jobConsultaSituacaoService = Activate<JobConsultaSituacaoService>();
await jobConsultaSituacaoService.ExecutarAtividade();
| CurrentCulture | |
| RecurringJobId | |
| RetryCount | |
| Time | |
Exceeded the maximum number of retry attempts.
Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.JobConsultaSituacaoService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Can not change the state to 'Processing': target method was not found.
Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.JobConsultaSituacaoService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'Inpart.Integracao.GerenciadorJobs.Services.JobConsultaSituacaoService' from assembly 'Inpart.Integracao.GerenciadorJobs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.RuntimeAssembly.GetTypeCore(String typeName, ReadOnlySpan`1 nestedTypeNames, Boolean throwOnError, Boolean ignoreCase) at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny) at System.Reflection.TypeNameParser.Parse() at System.Reflection.TypeNameParser.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Assembly topLevelAssembly) at Hangfire.Common.TypeHelper.TypeResolver(Assembly assembly, String typeName, Boolean ignoreCase) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 241 at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny) at System.Reflection.TypeNameParser.Parse() at System.Reflection.TypeNameParser.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Assembly requestingAssembly, Boolean throwOnError, Boolean ignoreCase, Boolean extensibleParser) at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError) at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName) in C:\projects\hangfire-525\src\Hangfire.Core\Common\TypeHelper.cs:line 78 at Hangfire.Storage.InvocationData.DeserializeJob() in C:\projects\hangfire-525\src\Hangfire.Core\Storage\InvocationData.cs:line 96
Triggered by DelayedJobScheduler
Retry attempt 1 of 1: Timeout expired. The timeout elapsed prior to obt…
An exception occurred during performance of the job.
Timeout expired. The timeout elapsed prior to obtaining a distributed lock on the 'HangFire:JobConsultaSituacaoService.ExecutarAtividade' resource.
Hangfire.Storage.DistributedLockTimeoutException: Timeout expired. The timeout elapsed prior to obtaining a distributed lock on the 'HangFire:JobConsultaSituacaoService.ExecutarAtividade' resource. at Hangfire.SqlServer.SqlServerDistributedLock.Acquire(DbConnection connection, String resource, TimeSpan timeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerDistributedLock.cs:line 223 at Hangfire.SqlServer.SqlServerConnection.AcquireLock(String resource, TimeSpan timeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 731 at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContext context) in C:\projects\hangfire-525\src\Hangfire.Core\DisableConcurrentExecutionAttribute.cs:line 48 at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37 at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51 at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29 at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
Triggered by recurring job scheduler