A grails project that throws an mysterious exception when i put grails.gorm.failOnError = true in Config.groovy