{ "timestamp": "2026-03-26 05:41:00.2106", "level": "Error", "severity": "ERROR", "message": "Value cannot be null.\r\nParameter name: path4", "stackTrace": "System.ArgumentNullException: Value cannot be null.\r\nParameter name: path4\r\n   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)\r\n   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportTrainingCertificateHelper.cs:line 25\r\n   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportTrainingCertificateHelper.cs:line 115\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(Int64 batchId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 3293\r\n   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\EventHandler.cs:line 507" }
{ "timestamp": "2026-03-26 05:41:00.6341", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 05:43:30.7611", "level": "Error", "severity": "ERROR", "message": "Value cannot be null.\r\nParameter name: path4", "stackTrace": "System.ArgumentNullException: Value cannot be null.\r\nParameter name: path4\r\n   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)\r\n   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportTrainingCertificateHelper.cs:line 25\r\n   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportTrainingCertificateHelper.cs:line 115\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(Int64 batchId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 3293\r\n   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\EventHandler.cs:line 507" }
{ "timestamp": "2026-03-26 05:43:30.7727", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 10:52:43.1067", "level": "Error", "severity": "ERROR", "message": "Unable to cast object of type 'System.Int64' to type 'System.String'.", "stackTrace": "System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.String'.\r\n   at IncidentReporter.NotificationSender.Models.Event.Get[T](String strKey) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Models\\Event.cs:line 71\r\n   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\EventHandler.cs:line 1106" }
{ "timestamp": "2026-03-26 10:52:43.1452", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 11:00:58.9512", "level": "Error", "severity": "ERROR", "message": "Unable to cast object of type 'System.Int64' to type 'System.String'.", "stackTrace": "System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.String'.\r\n   at IncidentReporter.NotificationSender.Models.Event.Get[T](String strKey) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Models\\Event.cs:line 71\r\n   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\EventHandler.cs:line 1106" }
{ "timestamp": "2026-03-26 11:00:58.9512", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 13:12:57.0360", "level": "Error", "severity": "ERROR", "message": "Object reference not set to an instance of an object.", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Helpers\\EmailHelper.cs:line 39" }
{ "timestamp": "2026-03-26 13:12:57.0702", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 13:12:57.1933", "level": "Error", "severity": "ERROR", "message": "Object reference not set to an instance of an object.", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Helpers\\EmailHelper.cs:line 39" }
{ "timestamp": "2026-03-26 13:12:57.2115", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 23:40:10.3425", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 23:40:10.3742", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 23:40:31.4208", "level": "Error", "severity": "ERROR", "message": "Unable to connect to the remote server", "stackTrace": "System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 148.113.16.160:443\r\n   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)\r\n   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)\r\n   --- End of inner exception stack trace ---\r\n   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)\r\n   at System.Net.HttpWebRequest.GetRequestStream()\r\n   at IncidentReporter.NotificationSender.Helpers.WhatsappHelper.SendOsmoXMessage(String apiBody) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Helpers\\WhatsappHelper.cs:line 246" }
{ "timestamp": "2026-03-26 23:40:31.4505", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 23:40:31.4505", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 23:40:31.4505", "level": "Error", "severity": "ERROR" }
