Question

Photo of Jared Piro

0

Global.DrainTransactionQueue(): sendRegistrationNotifcationTransaction exception

Hello all,

For some reason event coordinators are not being notified, via email, when there is a registration for their events. But this exception is being logged every time someone registers.

Global.DrainTransactionQueue(): sendRegistrationNotifcationTransaction

at RockWeb.Global.LogError(Exception ex, HttpContext context)
at RockWeb.Global.DrainTransactionQueue()
at RockWeb.Global.b__1c()

at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


System.InvalidOperationException     mscorlib    Nullable object must have a value.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at Rock.Transactions.SendRegistrationNotificationTransaction.Execute()
at RockWeb.Global.DrainTransactionQueue() in c:\inetpub\wwwroot\App_Code\Global.asax.cs:line 1055

The registrant still gets a confirmation email though.

Any thoughts would be appreciated,

Thanks!

  • Photo of Jon Edmiston

    0

    Looking at the code it's hard to see what the issue might be. Are you able to create a local database and step through the code?