poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59559] Rule M2.4 exception : this error should NEVER happen!
Date Sat, 17 Sep 2016 18:28:52 GMT

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

           What    |Removed                     |Added
         Resolution|LATER                       |INVALID

--- Comment #3 from Javen O'Neal <onealj@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

View raw message