got stuck troubleshooting an exception from a bad paint call.