What variable is null? Your error message text has left off the line number where the error occurred.

paint(null,Choice);
Why do you call the paint() method with a null value?

If you want to...