EmptyValueException: ModDate value is empty in High-Load Scenarios

Here is an example pdf:
Test Email.pdf (34.2 KB)

@dvtdaten

The Aspose.PDF for .NET implemented an EmptyValueException in order to catch exception while reading NULL Values of these properties. You may please use following code snippet in order to handle such cases:

Document pdfDocument = new Document(dataDir + "Test Email.pdf");
try
{
  var date = pdfDocument.Info.CreationDate;
  var modDate = pdfDocument.Info.ModDate;
}
catch (EmptyValueException eve)
{
   pdfDocument.Info.CreationDate = DateTime.Now;
   pdfDocument.Info.ModDate = DateTime.Now;
}

Please let us know if this is sufficient to serve your requirements OR we will further proceed to assist you accordingly.