https://bz.apache.org/bugzilla/show_bug.cgi?id=62587
Bug ID: 62587 Summary: repeated call to XSLFSheet.removeShape leads to java.lang.IllegalArgumentException: partName Product: POI Version: 3.17-FINAL Hardware: Macintosh Status: NEW Severity: major Priority: P2 Component: XSLF Assignee: dev@poi.apache.org Reporter: florian.sc.schnei...@bmw.de Target Milestone: --- Created attachment 36060 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36060&action=edit Stacktrace of reported error I am having a Slide Show with 1 Slides, containing exactly one picture shape pointing to one EMF embedded into the slide. In code, I duplicate the slide n times, and then try to "replace" that picture shape by creating a new picture shape with the same dimensions and removing the old picture shape. POI then crashes on the second call to org.apache.poi.xslf.usermodel.XSLFSheet.removePictureRelation(XSLFSheet.java:649) See full stack trace attached. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org