https://bz.apache.org/bugzilla/show_bug.cgi?id=65673
PJ Fanning <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from PJ Fanning <[email protected]> --- So the issue is that you close the SlideShow in getTemplate. POI 5.1.0 uses the close method to decide it is time to free up resources associated with the SlideShow object instance. The NullPointerException is caused by the data byte array that backs the image data having been set to null as part of the SlideShow close. Can you change your getTemplate to return the slideshow (and leave it open)? You can close the input stream. You should close the template SlideShow after you have finished using it - eg after you import the content of the slide into the new slideshow. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
