HandleGraphMail.SendFormattedEmail

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

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

Parameters

CurrentCulture
"nl"
CurrentUICulture
"nl"
RetryCount
5

State

11/19/2025 12:40:32 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:
4c36fa0f

+7m 204ms 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:40:27 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

+3m 45.110s 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:33:18 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:
c1f8a153

+2m 47ms 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:41 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:
c1f8a153

+45.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:27:33 PM

+30ms 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

+45.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:26:52 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()

+1.437s Processing

Server:
dawesta-vps:4160
Worker:
236080f1

+ <1ms Enqueued

Queue:
default

11/19/2025 12:26:14 PM Created