https://issues.apache.org/bugzilla/show_bug.cgi?id=53515

Dominik Stadler <[email protected]> changed:

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

--- Comment #8 from Dominik Stadler <[email protected]> ---
I have now analyzed both cases:

a) We currently do not support re-using the Workbook like this and I don't see
an easy way to do it. Patches welcome if you can think of a way!

b) It happens because you try to write the workbook to the same file that is
still open for the Workbook itself, unfortunately this triggers this crash
which we cannot do much about as it is kind of "documented behavior" of the JVM
in this case and can only be prevented by setting the system property mentioned
in the link. Also in general writing to the same file is not a good idea, but
cannot be checked in poi itself as we are working on streams and thus do not
know which file is actually handled here.

So in both cases I do not see a "fix" which we can put in, therefore resolving
this as WONTFIX for now. I have added both test-cases as "DISABLED" to
TestSXSSFWorkbook under r1535959.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to