Add log message when uiHandlers is null

Every now and then I'll call getUiHandlers() from my views constructor and it always takes me a while to work out what's gone wrong.

I'd prefer to throw a RuntimeException instead of just the log message since I don't think anyone ever intends to call getUiHandlers before setting it but a log message will be helpful on it's own.