Bug 50956

Summary: Cloning cell style to cell of another workbook crashes Excel file
Product: POI Reporter: andrei <andrei.astrouski>
Component: XSSFAssignee: POI Developers List <dev>
Severity: normal CC: crazyzcb
Priority: P2    
Version: 3.7-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Unit Test

Description andrei 2011-03-22 14:00:21 UTC
Created attachment 26790 [details]
Unit Test

See unit test in attachment please
Comment 1 Kir Repnikov 2011-04-21 08:45:44 UTC
Was reproduced for Win XP & Linux.
Comment 2 Nick Burch 2011-04-21 09:23:16 UTC
Hmm, I've tried it, and I don't see any crashes, but the style isn't showing up in the new file either

I did notice an issue with the cloned styles not being persisted quite right, which I think I've fixed in r1095695. Does that fix things for you?
Comment 3 Kir Repnikov 2011-05-23 11:40:06 UTC
> Hmm, I've tried it, and I don't see any crashes

In Office 2007 I've seen message about corrupting styles.xml and suggestion to fix/restore it, when I open generated xlsx.

I'll check r1095695.
Comment 4 Dominik Stadler 2015-03-18 20:28:43 UTC
There have been fixes done in bug 56295 that likely also fix this bug. Therefore I am marking this as duplicate, please try with a recent trunk build and reopen this bug if it still does not work for you.

*** This bug has been marked as a duplicate of bug 56295 ***