setColor() gives a null error on execution

Printable View