I’m trying to reset password from the login screen, but the WF ends with Object reference not set to an instance of an object error message - see attached WF debug server log. I think the parameters in appsettings.json are set correctly - attached. Email is generated into the MAIL_OUT WQ and the error is generated after WQ Send command. Server name and port are saved in Model constant correctly. I can send email directly from the Origam server to the Email server via telnet without issue. Any suggestion appreciated!
Thank you.
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - ------------------- Starting workflow: SendEmailFromQueue
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - ------------------- Transaction ID:
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: WQ_Mail
2021-06-07 20:02:03,465 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,465 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'WQ_Mail'
2021-06-07 20:02:03,466 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'WQ_Mail'
2021-06-07 20:02:03,466 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,466 [17] DEBUG Origam.Workflow.WorkflowEngine - Starting ServiceMethodCallEngineTask: Send
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - ------------------- Starting workflow: SendEmail
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - ------------------- Transaction ID:
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: recipientEmail
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'recipientEmail'
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'recipientEmail'
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: attachmentEntityId
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: attachmentRecordId
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'attachmentRecordId'
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'attachmentRecordId'
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: subject
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'subject'
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'subject'
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: body
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'body'
2021-06-07 20:02:03,467 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'body'
2021-06-07 20:02:03,467 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: Attachment_structure
2021-06-07 20:02:03,469 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: senderName
2021-06-07 20:02:03,469 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: senderEmail
2021-06-07 20:02:03,469 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,469 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'senderEmail'
2021-06-07 20:02:03,469 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'senderEmail'
2021-06-07 20:02:03,469 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: Mail
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: attachment
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: MailWorkQueueName
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: attachmentName
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: recipientCCEmail
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,473 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'recipientCCEmail'
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Initializing data store: recipientBCCEmail
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Passing input context
2021-06-07 20:02:03,473 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'recipientBCCEmail'
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Evaluating startup rule for step 00_LoadData_Attachment_structure
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - Rule evaluated and returned True
2021-06-07 20:02:03,473 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,474 [17] DEBUG Origam.Workflow.WorkflowEngine - Starting ServiceMethodCallEngineTask: 00_LoadData_Attachment_structure
2021-06-07 20:02:03,477 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'Attachment_structure', Step 'SendEmail/00_LoadData_Attachment_structure'
2021-06-07 20:02:03,477 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'Attachment_structure', Step 'SendEmail/00_LoadData_Attachment_structure'
2021-06-07 20:02:03,477 [17] DEBUG Origam.Workflow.WorkflowEngine - ServiceMethodCallEngineTask 00_LoadData_Attachment_structure finished successfully.
2021-06-07 20:02:03,477 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,477 [17] DEBUG Origam.Workflow.WorkflowEngine - Starting ServiceMethodCallEngineTask: 01_GenerateMail
2021-06-07 20:02:03,479 [17] INFO Origam.Workflow.WorkflowEngine - Merging context 'Mail', Step 'SendEmail/01_GenerateMail'
2021-06-07 20:02:03,479 [17] INFO Origam.Workflow.WorkflowEngine - Finished merging context 'Mail', Step 'SendEmail/01_GenerateMail'
2021-06-07 20:02:03,479 [17] DEBUG Origam.Workflow.WorkflowEngine - ServiceMethodCallEngineTask 01_GenerateMail finished successfully.
2021-06-07 20:02:03,480 [17] DEBUG Origam.Workflow.WorkflowEngine - Evaluating startup rule for step 02_Send
2021-06-07 20:02:03,480 [17] DEBUG Origam.Workflow.WorkflowEngine - Rule evaluated and returned True
2021-06-07 20:02:03,480 [17] DEBUG Origam.Workflow.WorkflowEngine - ---------------------------------------------------------------------------------------
2021-06-07 20:02:03,480 [17] DEBUG Origam.Workflow.WorkflowEngine - Starting ServiceMethodCallEngineTask: 02_Send
2021-06-07 20:02:03,515 [17] DEBUG Origam.Workflow.WorkflowEngine - ServiceMethodCallEngineTask 02_Send finished successfully.
2021-06-07 20:02:03,515 [17] DEBUG Origam.Workflow.WorkflowEngine - Evaluating startup rule for step 02_SendByQueue
2021-06-07 20:02:03,515 [17] DEBUG Origam.Workflow.WorkflowEngine - Rule evaluated and returned False
2021-06-07 20:02:03,515 [17] DEBUG Origam.Workflow.WorkflowEngine - Block 'SendEmail' completed
2021-06-07 20:02:03,516 [17] DEBUG Origam.Workflow.WorkflowEngine - ServiceMethodCallEngineTask Send finished successfully.
2021-06-07 20:02:03,516 [17] DEBUG Origam.Workflow.WorkflowEngine - Block 'SendEmailFromQueue' completed
2021-06-07 20:02:03,516 [17] DEBUG Origam.Workflow.WorkflowEngine - Workflow completed
2021-06-07 20:02:03,518 [17] ERROR Origam.Workflow.WorkflowEngine - Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Origam.Workflow.Tasks.AbstractWorkflowEngineTask.OnFinished(WorkflowEngineTaskEventArgs e) in D:\a\1\s\origam-source\Origam.Workflow\Tasks\AbstractWorkflowEngineTask.cs:line 52
at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.OnAsyncAgentOnAsyncCallFinished(Object sender, AsyncReturnValues args) in D:\a\1\s\origam-source\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 95
at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.Execute() in D:\a\1\s\origam-source\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 80
at Origam.Workflow.WorkflowEngine.RunWorkflow() in D:\a\1\s\origam-source\Origam.Workflow\Engine.cs:line 556
part of appsettings.json :
"UserConfig": {
"FromAddress": "info@aaa.cz",
"NewUserRoleId": "",
"ResetPasswordMailSubject": "Reset Password",
"ResetPasswordMailBodyFileName": "testResetPwFile.txt",
"UserUnlockNotificationSubject": "",
"UserUnlockNotificationBodyFileName": "",
"UserRegistrationMailSubject": "Register",
"UserRegistrationMailBodyFileName": "testNewUserFile.txt",
"MultiFactorMailSubject": "Register",
"MultiFactorMailBodyFileName": "testMultiFactorFile.txt",
"MailQueueName": "MAIL_OUT",
"UserRegistrationAllowed": "true"
"MailConfig": {
"UserName": "",
"Password": "",
"Server": "10.10.10.254",
"Port": 25,
"UseSsl": "false",
"PickupDirectoryLocation": "C:\\inetpub\\html5test3\\EmailSpool"