{ "timestamp": "2026-03-26 15:10:28.3586", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 98\r\n   at IncidentReporter.API.BLL.IncidentsBLL.UploadMedia(Int32 incidentId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3050" }
{ "timestamp": "2026-03-26 15:10:28.3756", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:10:31.8929", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 98\r\n   at IncidentReporter.API.BLL.IncidentsBLL.UploadMedia(Int32 incidentId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3050" }
{ "timestamp": "2026-03-26 15:10:31.8929", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:10:36.2811", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 98\r\n   at IncidentReporter.API.BLL.IncidentsBLL.UploadMedia(Int32 incidentId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3050" }
{ "timestamp": "2026-03-26 15:10:36.2811", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:11:40.6910", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder, Int32 orgId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 77\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2762" }
{ "timestamp": "2026-03-26 15:11:40.7016", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:12:00.8569", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder, Int32 orgId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 77\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2762" }
{ "timestamp": "2026-03-26 15:12:00.8569", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:12:12.1277", "level": "Error", "severity": "ERROR", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDF(IncidentDBO incident, String organisationBannerRelativePath, String outputAbsoluteFilePath, String ticketModuleCustomName, Boolean enableReportedByType) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportIncidentPDFHelper.cs:line 620" }
{ "timestamp": "2026-03-26 15:12:12.1499", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\devapi.incidentreporter365.com\\devapi.oqsha.com\\attachments\\temp\\OQSHA_Ticket_H5LK9H.pdf'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\devapi.incidentreporter365.com\\devapi.oqsha.com\\attachments\\temp\\OQSHA_Ticket_H5LK9H.pdf'.\r\nFile name: 'D:\\App-Data\\iis\\devapi.incidentreporter365.com\\devapi.oqsha.com\\attachments\\temp\\OQSHA_Ticket_H5LK9H.pdf'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDFAsByteArray(IncidentDBO incident, String organisationBannerRelativePath, String ticketModuleCustomName, Boolean enableReportedByType) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportIncidentPDFHelper.cs:line 637\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<SendNewIncidentStatusUpdateEmail>d__47.MoveNext() in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3778\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action)" }
{ "timestamp": "2026-03-26 15:12:14.5418", "level": "Error", "severity": "ERROR", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDF(IncidentDBO incident, String organisationBannerRelativePath, String outputAbsoluteFilePath, String ticketModuleCustomName, Boolean enableReportedByType) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportIncidentPDFHelper.cs:line 620" }
{ "timestamp": "2026-03-26 15:12:25.6276", "level": "Error", "severity": "ERROR", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDF(IncidentDBO incident, String organisationBannerRelativePath, String outputAbsoluteFilePath, String ticketModuleCustomName, Boolean enableReportedByType) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportIncidentPDFHelper.cs:line 620" }
{ "timestamp": "2026-03-26 15:13:56.1230", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder, Int32 orgId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 77\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2762" }
{ "timestamp": "2026-03-26 15:13:56.1230", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:15:44.8700", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 98\r\n   at IncidentReporter.API.BLL.IncidentsBLL.UploadMedia(Int32 incidentId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3050" }
{ "timestamp": "2026-03-26 15:15:44.8700", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-26 15:17:14.7127", "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.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 163\r\n   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\AttachmentsHelper.cs:line 98\r\n   at IncidentReporter.API.BLL.IncidentsBLL.UploadMedia(Int32 incidentId) in D:\\osmosys\\oqsha\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3050" }
{ "timestamp": "2026-03-26 15:17:14.7127", "level": "Error", "severity": "ERROR" }
