I am getting inconsistently the following error message while setting license file,
Error Message:System.NullReferenceException: Object reference not set to an instance of an object.
at ? .(Stream )
at ? .(String , Assembly )
at Aspose.Pdf.License.SetLicense(String licenseName)
I am using AsposePDF.Net v16.12 and the license file (Aspose.PDF.lic) is embedded in DLL file since we don’t want to expose the license file. The issue is inconsistent and I could not provide you exact scenario for this. The following is the code sample used to set the license
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.Embedded = true;
This is happening very frequently. Can you please help me in resolving this issue.