poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61882] Some paths can create an XSSFColor instance with a null CTColor reference
Date Sat, 09 Dec 2017 20:02:04 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61882

--- Comment #1 from Greg Woolsey <gwoolsey@apache.org> ---
My internal bug report appears to be against an older version of POI - I'm
unable to reproduce this with a unit test making the same call as the error my
user reported.

However, I see we do have a lot of code where an inline null check or similar
is done on the CTColor argument to decide whether to return null or create an
XSSFColor instance.  That pattern is definitely safer as a factory, so I'll
still investigate that.

-- 
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


Mime
View raw message