PostScript files that load fine normally don’t load when run in a separate thread.
Code to reproduce:
// This works
Aspose.Pdf.Document pdf = new Aspose.Pdf.Document(“test.ps”, new Aspose.Pdf.PsLoadOptions());
// This results in System.NullReferenceException
var task = new System.Threading.Tasks.Task(() => new Aspose.Pdf.Document(“test.ps”, new Aspose.Pdf.PsLoadOptions()));
task.Start();
task.Wait();
File to reproduce (but any PS file would create the issue as far as I know): test.zip (1.7 KB)