Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


500 error when configuration parameters are missing #10

iamthechad opened this Issue · 2 comments

2 participants


When any of the boolean configuration parameters are missing, a 500 error is generated with the text No signature of method: groovy.util.ConfigObject.toBoolean() is applicable for argument types: () values: [] Possible solutions: asBoolean(), asBoolean()

Need to handle missing properties in a non-crashy way.

@iamthechad iamthechad was assigned

I haven't this bug when used 0.6.5 version, but it appeares on 0.6.6 and 0.6.7.
All values are setted in RecaptchaConfig.groovy, no one missed.
Now, I'm using Grails 2.3.8, does that matter anything?
What I must to do to dismiss this bug?


Ok, I found it's my bug. I had run grails in another environment not specified in the RecaptchaConfig.groovy.
But you should rewrite code to use some default values or to display better warning/error messages with detailed instructions what to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.