Bug 56386 - Call to getFont().getFamily() on instance of XSSFCellStyle generate corrupted XLS file
Summary: Call to getFont().getFamily() on instance of XSSFCellStyle generate corrupted...
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.10-FINAL
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2014-04-10 22:58 UTC by yossico
Modified: 2015-09-13 19:47 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description yossico 2014-04-10 22:58:36 UTC
When I remove this line: "xssFCellStyle.getFont().getFamily();" from the program, the XLS file is generated OK, otherwise I get this error from excel 2010:

"Excel found unreadable content in 'target.xlsx'. Do you want to recover..."
Comment 1 Dominik Stadler 2014-05-12 19:26:22 UTC
It's very hard with this little information about your problem. Can you provide some self-contained sample-code that allows to reproduce the problem? Preferably as patch/unit test so we can add it to the existing set of tests?
Comment 2 Dominik Stadler 2015-09-13 19:47:46 UTC
No info on actual problem, no test-file, no sample code => closing INVALID for now.