java.lang.ArrayIndexOutOfBoundsException: -1 (4637)

Hi,

There is a table on the first slide in the attached presentation. When I try to get some properties of that table, this exception occurs:

java.lang.ArrayIndexOutOfBoundsException: -1

Here's the code I use:

String presentationPath = "HDLawcc-ar-39.pptx";

InputStream inputStream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(inputStream);

inputStream.close();
ISlide slide = presentation.getSlides().get_Item(0);
ITable table = (ITable) slide.getShapes().get_Item(0);
System.out.println(table.getX());

Can you check this?

Thanks,
Zeljko

Hi Zeljko,


I have tested the shared presentation using Aspose.Slides for Java 16.5.0 and have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35384 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the issue so that we may share notification with you once the issue will be fixed.

We are sorry for your inconvenience,

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.