https://bz.apache.org/bugzilla/show_bug.cgi?id=66052
--- Comment #20 from XL <x...@ijoinery.com> --- The issue cause is in CellUtil.setFormatProperties in this condition : if (foregroundFillColor != null) I suggest to replace the previous condition with this one : if (style instanceof XSSFCellStyle) After this replacement : • The JUnit test of comment 13 works completely, • And the issue of comment 15 disappears. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org