poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61297] got this message: this error should NEVER happen while trying to copy rows in Excel
Date Thu, 13 Jul 2017 23:38:34 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61297

--- Comment #4 from Javen O'Neal <onealj@apache.org> ---
Nevermind. Code is in attachment 35132.

The problem is that you're closing the pkg in a for loop and then closing it
again at the exit.

You should only close the OPCPackage once,and after it's closed, the package
and anything that relies on the package (such as the XSSFWorkbook) can no
longer be used.

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


Mime
View raw message