Issue #5908: setColor is error

setColor is error