class java.lang.ClassCastException - org.apache.poi.hslf.record.Slide java.lang.ClassCastException: org.apache.poi.hslf.record.Slide at org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes (SlideShow.java:315) at org.apache.poi.hslf.usermodel.SlideShow.<init>(SlideShow.java:116) This happens when I try to instantiate a new HSLFSlideShow: HSLFSlideShow pptSlideShow = new HSLFSlideShow(fileName)
Created attachment 19119 [details] an example
This will now throw a CorruptPowerPointFileException Details on why it was doing this, and what (if anything) we might be able to do better in the future are over in bug #41776.