https://issues.apache.org/bugzilla/show_bug.cgi?id=53515
--- Comment #6 from Jonathan Drapeau <[email protected]> --- I've come up with a workaround for my problem of writing more than once in a XssfWorkbook. Using a FileInputStream on the second pass to open the Workbook will make it work. If that points to a problem in the JVM itself (Oracle's v7), I'm puzzled to see that using a different constructor will avoir a JVM crash. Change my attached case opening code this : FileInputStream input = null; try { File out = new File("Test.xlsx"); if (out.exists()) { try { input = new FileInputStream(out); wb = new SXSSFWorkbook((XSSFWorkbook) WorkbookFactory.create(input)); } catch (Exception e) { System.err.println("ERROR: didn't create workbook : " + e.getMessage()); } } else { wb = new SXSSFWorkbook(10); } -- 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]
