You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/02/15 15:43:29 UTC

DO NOT REPLY [Bug 50299] NullPointer Exception in XSSFCellStyle.getFillForegroundXSSFColor()

https://issues.apache.org/bugzilla/show_bug.cgi?id=50299

andrei <an...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from andrei <an...@gmail.com> 2011-02-15 09:43:25 EST ---
XSSFCellStyle.getFillForegroundXSSFColor() throws NPE when the cell background
color is set from two first columns of the theme color palette (ie tints of
white and black colors). СTColor.getSrgbClr() in getThemeColor(int) method
returns null for these colors. It's necessary return
CTColor.getSysClr().getLastClr() in such cases.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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