Same file as in bug #42481, to reproduce: ShapeGroup group = (ShapeGroup)new SlideShow(new HSLFSlideShow("alterman_security.ppt")).getSlides()[9].getShapes()[1]; TextBox txt = (TextBox)group.getShapes()[0]; // or 1, 2, 3 System.out.println(txt.getTextRun());
Fixed. shape.setSheet(Sheet sh) wasn't called in ShapeGroup.getShapes() Yegor