level: Error

severity: ERROR

stackTrace:
System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 163
   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
   at IncidentReporter.API.BLL.CoursesBLL.<UploadBatchAttendanceSheet>d__50.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CoursesBLL.cs:line 0


message: Object reference not set to an instance of an object.


stackTrace:
System.IO.FileNotFoundException: PDF generation tool not found at path: D:\App-Data\iis\devapi.incidentreporter365.com\devapi.oqsha.com\Files/Tools/wkhtmltopdf.exe
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 50
   at IncidentReporter.API.BLL.CoursesBLL.<ExportTrainingCertificateAsync>d__70.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CoursesBLL.cs:line 4791


message: PDF generation tool not found at path: D:\App-Data\iis\devapi.incidentreporter365.com\devapi.oqsha.com\Files/Tools/wkhtmltopdf.exe


message: The file path you provided is not Valid

stackTrace:
System.Exception: The file path you provided is not Valid
   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)
   at IncidentReporter.API.Helpers.ExportWorkPermitPDFHelper.ExportWorkPermitPDF(WorkPermitExportDTO workPermit, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String timeZone) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportWorkPermitPDFHelper.cs:line 692
   at IncidentReporter.API.BLL.WorkPermitBLL.<ExportWorkPermitPdfAsync>d__49.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 3841