When there is no collection on Resources and the page generates the error I this.colors  is null.
Hi Orlando. Thanks for reporting the bug!
It's now fixed in build 1675. You can download this build in the sandbox.