LoadSchedulerService.LoadDashboardData

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

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

Parameters

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

State

08/20/2024 16:26:18 (+1m 17.696s) 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_method735(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.<PopulateIncludeCollection>g__ProcessCurrentElementRow|23_0[TIncludingEntity,TIncludedEntity](<>c__DisplayClass23_0`2&)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   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)

+2m 42.350s Processing

Server:
dashboard photobooth alerts loader:15636
Worker:
4c2f3087
+1m 16.013sOCORREU UM ERRO DE PROCESSAMENTO DE DADOS. ERRO: Cannot read infinity value since DisableDateTimeInfinityConversions is true.

+52.915s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+889ms Scheduled

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

Enqueue at:
08/20/2024 16:22:06

+33.392s 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 9h 25m Processing

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

+22ms Enqueued

Triggered by recurring job scheduler

Queue:
default

06/25/2024 06:55:04 Created