HandleGraphMail.SendFormattedEmail

// Job ID: #2501
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:39: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

+6m 15.190s 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:39:32 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

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

+1m 45.047s 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:31:05 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

+1m 15.016s 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:29:20 PM

+14ms 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:
2b1171d6

+45.423s 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:28:09 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()

+12.593s Processing

Server:
dawesta-vps:4160
Worker:
91f85dda

+ <1ms Enqueued

Queue:
default

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