System.IndexOutOfRangeException Occurs when Converting PPTX to PDF in C#

Hi,

I got System.IndexOutOfRangeException:Index was outside the bounds of the array. when converting a slides to pdf.

Tested OSs were Win7 and Win10
.NET target platform is .net 6.0
Using SDK: Aspose.Slides for .Net 24.4

Using code

void testToPdf (string filename)
{
    // Instantiates a Presentation class that represents a PowerPoint file, it could be PPT, PPTX, ODP etc.
    Presentation presentation = new Presentation(filename);

    // Saves the presentation as a PDF
    presentation.Save(filename + ".out.pdf", SaveFormat.Pdf);
}

Exception details

System.IndexOutOfRangeException
HResult=0x80131508
Message=Index was outside the bounds of the array.
Source=Aspose.Slides
StackTrace:
在 .(Int32 , Int32 , [,] , [,] , [,] ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  )
在 .()
在 …ctor(Table )
在 Aspose.Slides.Cell.()
在 .(Cell , e )
在 e.( ,  )
在 Aspose.Slides.TextStyle.()
在 .(ParagraphFormat )
在 e.[TLocalData,TEffectiveData](TLocalData )
在 e.( ,  )
在 Aspose.Slides.ParagraphFormat.()
在 e…ctor(Paragraph )
在 e.(Paragraph , Int32 )
在 e.(TextFrame , Int32 )
在 e.e( ,  )
在 e.e( )
在 e.(Boolean )
在 Aspose.Slides.Shape.get_Frame()
在 Aspose.Slides.Shape.get_X()
在 .( , Shape , InterruptionToken )
在 .( ,  , InterruptionToken )
在 e.( ,  , InterruptionToken )
在 e.( , IShapeFrame ,  , Boolean , Boolean , InterruptionToken )
在 Aspose.Slides.Slide.(Boolean ,  ,  , List`1 , InterruptionToken )
在 .(Presentation , Stream , Int32[] , PdfOptions , InterruptionToken )
在 .(Presentation , Stream , PdfOptions , InterruptionToken )
在 Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)
在 Aspose.Slides.Presentation.Save(String fname, SaveFormat format)
在 Program.<$>g__testToPdf|0_1(String filename) 在 C:.NET\ConsoleApp.Slides\ConsoleApp2\Program.cs 中: 第 23 行
在 Program.$(String[] args) 在 C:.NET\ConsoleApp.Slides\ConsoleApp2\Program.cs 中: 第 27 行

Using file:
维修业务激励制度3.0 培训.pptx.7z (134.9 KB)

@kngstr,
Thank you for reporting on the issue. I’ve reproduced the problem you described. We apologize for any inconvenience caused.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-44561

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.