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

            Bug ID: 55033
           Summary: new XSSFWorkbook(pkg) corrupts Excel file
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 30347
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30347&action=edit
Corrupted file

Hello!
This simple piece of code corrupts normal *.xlsx file.

------
pkg = OPCPackage.open(args[0]);
wb = new XSSFWorkbook(pkg);
pkg.close();
------

Without statement 
wb = new XSSFWorkbook(pkg);
*.xlsx file remains good.

Corrupted *.xlsx attached.
Thanx in advance!

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