Free Support Forum - aspose.com

NullReference Excpetion is thrown on WriteAsSvg method for grouped shapes (C# .NET)

3.zip (24.3 KB)

Aspose.Slides.NET 20.4/20.5 throw System.NullReferenceException
`using System;
using System.IO;

namespace ConsoleApp8
{
class Program
{
static void Main(string[] args)
{
var pres = new Aspose.Slides.Presentation(“3.pptx”);
pres.Slides[0].Shapes[0].WriteAsSvg(new MemoryStream());
}
}
}`

@mititch,

I have observed the issue shared by you and have created a ticket with ID SLIDESNET-41923 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-41923) have been fixed in this update.