https://bz.apache.org/bugzilla/show_bug.cgi?id=68524
Bug ID: 68524 Summary: Writing XLSX fails silently in POI 5.2.5 Product: POI Version: unspecified Hardware: PC Status: NEW Severity: normal Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: michael.hre...@baral-geohaus.de Target Milestone: --- I've noticed that a certain problem appeared with version 5.2.5, while versions 5.2.3 and 5.2.4 work properly. When I create an XSSFWorkbook like this: org.apache.poi.ss.usermodel.Workbook workbook = new org.apache.poi.xssf.usermodel.XSSFWorkbook(); then fill it will the createSheet Method and so on, and later use the write Method to write to a simple FileOutputStream, like this: java.io.OutputStream stream = new java.io.FileOutputStream(new java.io.File(filename)); workbook.write(stream); the writing fails. There is a .xlsx file, but it is corrupt, so that I cannot open it, with 0 kb being displayed as its apparent size. I do not get any exception, the write operation just fails silently. The code in which this operation fails is written in Groovy (currently 2.5). It worked for a long time, and an update to POI 5.2.5 causes the problem, while a downgrade to 5.2.4 fixes it. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org