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

--- Comment #2 from Alain Fagot Bearez <alain.bea...@cua.li> ---
Take care about the order you are closing the resources:


            FileOutputStream outputStream = new
FileOutputStream("JavaBooks.xlsx");
            workbook.write(outputStream);
            outputStream.close();
            workbook.close();

            //inputStream.close();
            pkg.close();


Otherwise you are trying to write into a package (document) that has been
closed.

This is a classical duplicate of
https://bz.apache.org/bugzilla/show_bug.cgi?id=60102

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

Reply via email to