https://issues.apache.org/bugzilla/show_bug.cgi?id=53269
Priority: P2
Bug ID: 53269
Assignee: dev@poi.apache.org
Summary: multiple save currupt file
Severity: normal
Classification: Unclassified
Reporter: apache_nospam@achner.com
Hardware: PC
Status: NEW
Version: 3.8
Component: XSSF
Product: POI
Created attachment 28813
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28813&action=edit
corrupt file
Reproducible error
XSSFWorkbook wb = new XSSFWorkbook();
wb.createSheet("Test");
FileOutputStream os = new FileOutputStream("C:/dev/myfile1.xlsx");
wb.write(os);
os.close();
os = new FileOutputStream("C:/dev/myfile2.xlsx");
wb.write(os);
os.close();
Saving an existing workbook first time produces a correct file (3.236 Bytes).
Saving it a second time produces a corrupt file (2.888 Bytes).
--
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
|