It doesn't fail if you don't define initParams in VaadinConfig because here `config.initParams` returns an empty map, not null.  (At least in grails 2.3.5 with the latest groovy).

When you say change it to: `initParams.keySet()` what do you mean? Maybe you intended to write `initParams?.keySet()` ?

Last one, what's wrong with the code format? I can see it right from here, can you be a bit more specific?

Thank you for your patience,  this is my first time on github.