fix for GRAILS-10201 ""Method name must not be null" error after upgrading from 2.2.1 to 2.2.3"