fix VerifierError and NPE
Merge branch 'master' of github.com:grails/grails-core