I’m calling SlideUtil.getAllTextFrames(new Presentation(in)) with version 14.4.0. The file is a pptx file. This produces the following stack trace:
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lcom.aspose.slides.ITextFrame;
at com.aspose.slides.SlideUtil.getAllTextFrames(Unknown Source)
at be.re.app.aspose.TextExtract.getTextSlides(TextExtract.java:153)
at be.re.app.aspose.TextExtract.get(TextExtract.java:47)
at be.re.repo.FullText.getReader(FullText.java:243)
at be.re.repo.FullText.index(FullText.java:316)
at be.re.repo.WebDAV$6.run(WebDAV.java:6911)
at java.lang.Thread.run(Thread.java:745)
It looks like internally the array of shapes is not an ITextFrame array.
I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: SLIDESJAVA-34417. You will be notified via this forum thread once the issue gets resolved.