{ "timestamp": "2026-06-24 05:24:34.8014", "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-06-24 05:24:34.8412", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 05:42:46.5972", "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-06-24 05:42:46.6106", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 05:43:01.9720", "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-06-24 05:43:01.9774", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 06:21:49.3138", "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 3416\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 515" }
{ "timestamp": "2026-06-24 06:21:49.3438", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 08:58:28.3574", "level": "Error", "severity": "ERROR", "message": "Column 'notification_body' cannot be null", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'notification_body' cannot be null\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)\r\n   at IncidentReporter.DAL.Repositories.NotificationsRepo.BulkInsertUserModuleNotification(IEnumerable`1 userNotifications) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\NotificationsRepo.cs:line 1004\r\n   at IncidentReporter.NotificationSender.Helpers.AddUserModuleNotificationHelper.AddUserModuleNotification(Int32 orgId, Int32 entityId, List`1 userIds, Dictionary`2 userTemplateContent, Int32 acmModuleId, UserModuleNotificationType notificationType, Int32 createdById, String conn, String viewLink) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Helpers\\AddUserModuleNotificationHelper.cs:line 120" }
{ "timestamp": "2026-06-24 08:58:28.3749", "level": "Error", "severity": "ERROR", "message": "Column 'notification_body' cannot be null", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'notification_body' cannot be null\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)\r\n   at IncidentReporter.DAL.Repositories.NotificationsRepo.BulkInsertUserModuleNotification(IEnumerable`1 userNotifications) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\NotificationsRepo.cs:line 1004\r\n   at IncidentReporter.NotificationSender.Helpers.AddUserModuleNotificationHelper.AddUserModuleNotification(Int32 orgId, Int32 entityId, List`1 userIds, Dictionary`2 userTemplateContent, Int32 acmModuleId, UserModuleNotificationType notificationType, Int32 createdById, String conn, String viewLink) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\Helpers\\AddUserModuleNotificationHelper.cs:line 125\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendWorkPermitExtensionHandoverInformationNotification(Int64 userId, String workPermitId, String workPermitUid, String siteName, String organisationName, String extensionTakenOn, Int64 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 16159\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 1911" }
{ "timestamp": "2026-06-24 08:58:28.4098", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 11:29:01.4256", "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 3416\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 515" }
{ "timestamp": "2026-06-24 11:29:01.4755", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 11:34:48.0457", "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 3416\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 515" }
{ "timestamp": "2026-06-24 11:34:48.0671", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 11:36:29.9343", "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 3416\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 515" }
{ "timestamp": "2026-06-24 11:36:29.9343", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-24 14:58:30.1925", "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 3416\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 515" }
{ "timestamp": "2026-06-24 14:58:30.2469", "level": "Error", "severity": "ERROR" }
