https://issues.apache.org/bugzilla/show_bug.cgi?id=50029
Yegor Kozlov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Yegor Kozlov <[email protected]> 2010-09-30 00:21:39 EDT --- Your code just saves an empty workbook which is invalid: wb = new XSSFWorkbook(); wb.write(fileOut); You need to insert at least one sheet to make the workbook readable by Excel, e.g. the following code will produce a valid output: wb = new XSSFWorkbook(); XSSHSheet sh = wb.createSheet(); wb.write(fileOut); Yegor -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
