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

--- Comment #2 from Alain Fagot Bearez <[email protected]> ---
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to