LoadSchedulerService.LoadDashboardData

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

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

Parameters

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

State

08/20/2024 16:21:55 (+33.183s) 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)

+23.662s Processing

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

+49.293s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+909ms Scheduled

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

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

+43.203s 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 39m Processing

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

+380ms Enqueued

Triggered by recurring job scheduler

Queue:
default

06/25/2024 03:40:01 Created