poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59732] File Excel Created From Apache POI Can't Open by Ms Excel (file corrupt)
Date Mon, 20 Jun 2016 08:49:38 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59732

--- Comment #3 from Javen O'Neal <onealj@apache.org> ---
So what you're saying is that if you start with a non-corrupt workbook and run
it through the following code, you get a corrupt (according to Excel) workbook?

> @Test
> public void test59732() {
>     File f = new File("in.xls");
>     Workbook wb = WorkbookFactory.create(f);
>     OutputStream fos = new FileOutputStream("out.xls");
>     wb.write(fos);
>     fos.close();
>     wb.close();
> }

Does this happen using other workbooks?
What version of POI are you using?
Does Excel 2010 give any more detail on the error?

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


Mime
View raw message