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

Dominik Stadler <[email protected]> changed:

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

--- Comment #2 from Dominik Stadler <[email protected]> ---
This is likely due to the fact that you close the OPCPackage while the Workbook
is still accessed, you should rather use the constructor of XSSFWorkbook which
receives a filename instead to keep resources open until the workbook is closed
at the end.

    try (OPCPackage pkg = OPCPackage.open(new File(filename))) {
      _WB = new XSSFWorkbook(pkg);
    }

If that does not solve the problem, then please reopen this bug with a more
reduced test-case that shows your problem with as little code as possible.

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