You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/06/09 09:40:07 UTC
[Bug 59678] Write to a closed workbook
https://bz.apache.org/bugzilla/show_bug.cgi?id=59678
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |59634
Status|NEW |RESOLVED
OS| |All
Resolution|--- |DUPLICATE
--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
I think this is more or less a duplicate of Bug 59634 where we discuss the
exact contract of the close(). The discussion there currently tends to state
"do not use the Workbook after closing" which is consistent with many other
Java classes that implement the Closeable interface.
So you can easily fix this by deferring the close() call to after the Workbook
is written out.
Bug 59634 might also adjust the code to provide a more meaningful error
message.
*** This bug has been marked as a duplicate of bug 59634 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org