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/09/17 18:28:52 UTC
[Bug 59559] Rule M2.4 exception : this error should NEVER happen!
https://bz.apache.org/bugzilla/show_bug.cgi?id=59559
Javen O'Neal <on...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|LATER |INVALID
--- Comment #3 from Javen O'Neal <on...@apache.org> ---
> OPCPackage pkg = OPCPackage.open(new File(ctxPath));
> XSSFWorkbook wb_template = new XSSFWorkbook(pkg);
> pkg.close();
> SXSSFWorkbook workbook = new SXSSFWorkbook(wb_template, CACHE_SIZE);
You are probably getting the error here where you are to created a workbook
from a closed resource. You must keep the source workbook and the source
OPCPackage open until after the SXXSFWorkbook has been opened.
--
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