The attached document fails to parse using Aspose.Slides 18.12 in Java (and also fails in .NET).
RD48-Crash.zip (16.0 KB)
The code snippet to reproduce in .NET (similar code in Java not shown) is:
namespace AsposePowerPoint
{
class Program
{
static void Main(string[] args)
{
var notesOptions = new NotesCommentsLayoutingOptions();
var deck = new Presentation(@"RD35-Crash.pptx");
foreach (var s in deck.Slides)
{
var bmp = new Bitmap(740, 960);
using (Graphics graphics = Graphics.FromImage(bmp))
{
s.RenderToGraphics(notesOptions, graphics);
}
}
}
}
}
and the exception thrown (in java) is:
class com.aspose.slides.exceptions.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Parameter name: index
com.aspose.slides.Collections.Generic.List.get_Item(Unknown Source)
com.aspose.slides.SlideCollection.get_Item(Unknown Source)
com.aspose.slides.lj.do(Unknown Source)
com.aspose.slides.lj.do(Unknown Source)
com.aspose.slides.lj.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.Slide.renderToGraphics(Unknown Source)