TeacherAbsenteeismJob.Execute

// 任务编号: ae556582-cd4d-41f0-a531-561d68f6aacf
using Vickn.Platform.Schools.TeacherAttendances.Work;

var teacherAbsenteeismJob = Activate<TeacherAbsenteeismJob>();
teacherAbsenteeismJob.Execute(
    FromJson<TeacherAbsenteeismJobArgs>("{\"TenantId\":495,\"AttendanceRuleId\":4776,\"Time\":\"2026-10-10T00:00:00\"}"));
RetryCount
10
CurrentUICulture
"zh-CN"
CurrentCulture
"zh-CN"

状态

2026/10/9 20:32:16 (+13ms) Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+2ms Processing

Server:
wocloud-win:81252
Worker:
59fc7be1

+1h 51m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 10 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 20:32:10

+9ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
caf3986a

+1h 10m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 9 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 18:40:36

+10ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
1e50097e

+43m 339ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 8 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 17:29:54

+16ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+2ms Processing

Server:
wocloud-win:81252
Worker:
80595c90

+22m 15.182s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 7 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:46:55

+19ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
59fc7be1

+12m 30.092s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 6 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:24:41

+13ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
80595c90

+5m 29.898s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 5 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:12:09

+152ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
bfdea1c4

+2m 45.017s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 4 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:06:30

+10ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+2ms Processing

Server:
wocloud-win:81252
Worker:
94093a81

+1m 45.003s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 3 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:03:53

+11ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
94093a81

+59.996s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 2 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:02:07

+12ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+3ms Processing

Server:
wocloud-win:81252
Worker:
6b1ec527

+34.426s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 1 of 10: Object reference not set to an instance of an obj…

Enqueue at:
2026/10/9 16:01:09

+9ms Failed

An exception occurred during performance of the job.

System.NullReferenceException

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+25.591s Processing

Server:
wocloud-win:81252
Worker:
6b1ec527

+23h 54m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Enqueue at:
2026/10/9 16:00:07

2026/10/8 16:05:18 Created