We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Object reference not set to an instance of an object. ---> Aspose.Pdf.License.SetLicense(...)

Hi,

Occasially my web application log shows exceptions like below:

Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Aspose.Pdf..(Stream ؆) at Aspose.Pdf..(String , Assembly ) at (String licenseName) at DotControl.Modules.DCEvent.Components.GenerateInvoice.GetInvoice(String& InvoiceNumber) at

Uploading the license file overwriting the old one "fixes" the problem.

What might be causing this?

Thanks!

PS: version is 2009.05.22

Hello Rutger,

Thanks for using our products.

Can you please share some code snippet or sample application so that we can test the scenario at our end. Please make sure that you have removed the license file from project before sharing it.

In order to share the license file, please visit the following link. How to send a license?

We apologize for your inconvenience.