We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

String index out of range (1099)

Hi,

When I try to load the attached presentation, this exception occurs:

class com.aspose.slides.PptxReadException: String index out of range: 2

Here’s the code I used:

String path = "Test.pptx";
	
Presentation presentation = new Presentation(path);

I’m using Aspose.Slides for Java 17.6.0.

Can you check this?

Thanks,
Zeljko

Test.pptx.zip (698.9 KB)

@Zeljko,

I have worked with source code and sample presentation shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-36487 has been created 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 automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

Adnan Ahmad