https://bz.apache.org/bugzilla/show_bug.cgi?id=59806

--- Comment #2 from Javen O'Neal <[email protected]> ---
Created attachment 34015
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34015&action=edit
simplified unit test

I cut your example down to the attached unit test.

The source of the problem is in getChartFromTitle. You're opening the
slideshow, creating an XSLFChart object, and closing the slideshow. Then you're
passing the XSLFChart object that belongs to the closed slideshow back to
updateBarChartTemplate.

Naturally, once you've closed a resource, any subsequent operations performed
on that resource are likely to fail.

Perhaps we could give a more informative error message here, like "could not
access package part output stream because the underlying document has been
closed.

-- 
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]

Reply via email to