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/10/19 08:11:01 UTC

[Bug 59639] org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException

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

Javen O'Neal <on...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from Javen O'Neal <on...@apache.org> ---
Workbook objects cannot be used after they are closed.
From javadocs[1] "Once this has been called, no further operations, updates or
reads should be performed on the Workbook."

> workbook.close();
> FileOutputStream outputStream=new FileOutputStream(...);
> workbook.write(outputStream);
> outputStream.close();

[1]
https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Workbook.html#close()

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