NullReference Exception on SetLicence

Hello,

I have got the same Problem with Slides:
If I call SetLicence an NullRef Exception throws. You can see that the other SetLicence calls have no problems.

Same Problem with PDF I found here in the forum:
SetLicence: System.NullReferenceException: Object reference not set to an instance of an object

My Code:
using Excel = Aspose.Cells;
using Word = Aspose.Words;
using Visio = Aspose.Diagram;
using Pdf = Aspose.Pdf;
using PowerPoint = Aspose.Slides;



static void ApplyLicences()
{
Excel.License excel = new Excel.License();
excel.SetLicense(“Aspose.Total.lic”);

Word.License word = new Word.License();
word.SetLicense(“Aspose.Total.lic”);

Visio.License visio = new Visio.License();
visio.SetLicense(“Aspose.Total.lic”);

Pdf.License pdf = new Pdf.License();
pdf.SetLicense(“Aspose.Total.lic”);

PowerPoint.License pp = new PowerPoint.License();
pp.SetLicense(“Aspose.Total.lic”);
}

Here the errormessage and Stacktrace:
at ? . .? (Stream stream)
at ? . .? (String licenseName, Assembly clientAssembly)
at Aspose.Slides.License.SetLicense(String licenseName)
at FuM.PDFConverter.Converter.ApplyLicences()

You know this behavior and a solution?

regards
Chris

Hi Chris,

I have observed the sample code shared by you and suggest you to please try using Aspose.Slides for .NET 7.8.0 on your end. If there is still an issue then please share the license file with us by following these guide lines so that I may investigate the issue further on my end to help you out.

Many Thanks,

Thank you for your fast help.
With version 7.8 it works .