Bug 56386

Summary: Call to getFont().getFamily() on instance of XSSFCellStyle generate corrupted XLS file
Product: POI Reporter: yossico <yossi2cohen>
Component: XSSFAssignee: POI Developers List <dev>
Status: RESOLVED INVALID    
Severity: major CC: yossi2cohen
Priority: P2    
Version: 3.10-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

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.