HandleGraphMail.SendFormattedEmail

// Job ID: #2500
using TrainingsDesk.HangFire.Jobs;

var handleGraphMail = Activate<HandleGraphMail>();
await handleGraphMail.SendFormattedEmail("ad9657bc-b332-4c3b-acac-c8d200805abb", 7, 31);

Parameters

CurrentCulture
"nl"
CurrentUICulture
"nl"
RetryCount
5

State

11/19/2025 12:37:47 PM (+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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:4160
Worker:
e184eb63

+4m 45.143s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
11/19/2025 12:37:47 PM

+17ms 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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:4160
Worker:
34834547

+3m 93ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
11/19/2025 12:32:49 PM

+17ms 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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:4160
Worker:
34834547

+1m 17ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
11/19/2025 12:29:59 PM

+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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:4160
Worker:
c1f8a153

+1m 15.017s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
11/19/2025 12:28:58 PM

+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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:4160
Worker:
34834547

+30.407s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
11/19/2025 12:27:35 PM

+17ms 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 TrainingsDesk.HangFire.Jobs.HandleGraphMail.FormatAdress(Address address) in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 248
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202531_Versie_2300\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+3.203s Processing

Server:
dawesta-vps:4160
Worker:
8915b0a4

+ <1ms Enqueued

Queue:
default

11/19/2025 12:27:13 PM Created