LoadSchedulerService.LoadDashboardData

// Job ID: #57632
using photobooth.alerts.Application.Services.Hangfire;

var loadSchedulerService = Activate<LoadSchedulerService>();
await loadSchedulerService.LoadDashboardData(null);

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"BGLoadDashData"
RetryCount
1
Time
1719285600

State

08/20/2024 16:21:32 (+35.472s) Failed

An exception occurred during performance of the job.

System.InvalidCastException

Cannot read infinity value since DisableDateTimeInfinityConversions is true.

System.InvalidCastException: Cannot read infinity value since DisableDateTimeInfinityConversions is true.
   at Npgsql.Internal.Converters.PgTimestamp.Decode(Int64 value, DateTimeKind kind, Boolean dateTimeInfinityConversions)
   at Npgsql.NpgsqlDataReader.GetFieldValueCore[T](Int32 ordinal)
   at lambda_method737(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at photobooth.alerts.Data.Repository.BranchDailyRepository.CreateOrUpdate(List`1 data) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Data\Repository\BranchDailyRepository.cs:line 25
   at photobooth.alerts.Application.Services.Loader.DashboardLoaderService.LoadData(Int32 minutesAgo) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Application\Services\Loader\DashboardLoaderService.cs:line 101
   at photobooth.alerts.Application.Services.Hangfire.LoadSchedulerService.LoadDashboardData(PerformContext context) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Application\Services\Hangfire\LoadSchedulerService.cs:line 38
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3.853s Processing

Server:
dashboard photobooth alerts loader:15636
Worker:
d1b10385
+33.941sOCORREU UM ERRO DE PROCESSAMENTO DE DADOS. ERRO: Cannot read infinity value since DisableDateTimeInfinityConversions is true.

+43.543s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+917ms Scheduled

Retry attempt 1 of 1: Cannot read infinity value since DisableDateTimeI…

Enqueue at:
08/20/2024 16:20:34

+43.198s Failed

An exception occurred during performance of the job.

System.InvalidCastException

Cannot read infinity value since DisableDateTimeInfinityConversions is true.

System.InvalidCastException: Cannot read infinity value since DisableDateTimeInfinityConversions is true.
   at Npgsql.Internal.Converters.PgTimestamp.Decode(Int64 value, DateTimeKind kind, Boolean dateTimeInfinityConversions)
   at Npgsql.NpgsqlDataReader.GetFieldValueCore[T](Int32 ordinal)
   at lambda_method737(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at photobooth.alerts.Data.Repository.BranchDailyRepository.CreateOrUpdate(List`1 data) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Data\Repository\BranchDailyRepository.cs:line 25
   at photobooth.alerts.Application.Services.Loader.DashboardLoaderService.LoadData(Int32 minutesAgo) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Application\Services\Loader\DashboardLoaderService.cs:line 101
   at photobooth.alerts.Application.Services.Hangfire.LoadSchedulerService.LoadDashboardData(PerformContext context) in C:\Projetos\Mottu\Sources\photobooth.alert\src\photobooth.alerts.Application\Services\Hangfire\LoadSchedulerService.cs:line 38
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+56d 12h 59m Processing

Server:
dashboard photobooth alerts loader:15636
Worker:
93d1b4ff
+42.593sOCORREU UM ERRO DE PROCESSAMENTO DE DADOS. ERRO: Cannot read infinity value since DisableDateTimeInfinityConversions is true.

+21ms Enqueued

Triggered by recurring job scheduler

Queue:
default

06/25/2024 03:20:00 Created