// 任务编号: 11fb625b-f975-468f-adb4-7551e1b90033
using Vickn.Platform.Schools.TeacherAttendances.Work;
var teacherAbsenteeismJob = Activate<TeacherAbsenteeismJob>();
teacherAbsenteeismJob.Execute(
FromJson<TeacherAbsenteeismJobArgs>("{\"TenantId\":495,\"AttendanceRuleId\":4775,\"Time\":\"2026-10-09T07:41:00\"}"));
10"zh-CN""zh-CN"An exception occurred during performance of the job.
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()
Retry attempt 10 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 9 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 8 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 7 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 6 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 5 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 4 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 3 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 2 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()
Retry attempt 1 of 10: Object reference not set to an instance of an obj…
An exception occurred during performance of the job.
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()