setcolor throws exception