The following method generates an IndexOutOfBoundsException when adding an empty slide
public void exportDetail(List data) throws Exception
{
// Retrieve the Aspose license
com.aspose.slides.License license = new com.aspose.slides.License();
ISCFile licenseFile = new ISCFile(Config.getGlobal().getPath("webRoot")+"/shared/Aspose.Slides.lic.xml");
license.setLicense(licenseFile.getInputStream());
// Initialize the presentation
Presentation pres = new Presentation();
Slide slide = pres.addEmptySlide();
}
11:42:53,406 ERROR [STDERR] java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
11:42:53,406 ERROR [STDERR] at java.util.ArrayList.RangeCheck(ArrayList.java:547)
11:42:53,406 ERROR [STDERR] at java.util.ArrayList.get(ArrayList.java:322)
11:42:53,406 ERROR [STDERR] at com.aspose.slides.Paragraphs.get(SourceFile:44)
11:42:53,406 ERROR [STDERR] at com.aspose.slides.Slide.do(SourceFile:230)
11:42:53,406 ERROR [STDERR] at com.aspose.slides.Presentation.do(SourceFile:1492)
11:42:53,406 ERROR [STDERR] at com.aspose.slides.Presentation.cloneSlide(SourceFile:1639)
11:42:53,406 ERROR [STDERR] at com.aspose.slides.Presentation.addEmptySlide(SourceFile:2465)
11:42:53,406 ERROR [STDERR] at com.genentech.smdi.webapps.smdi.dmi.SmdiDmi.exportDetail(SmdiDmi.java:918)