groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigObject.div()

It's time for another cryptic grails v1.1.1 stack trace.

I ran into this one when committing a bit change which made the root cause difficult to track down. After much fist shaking and rage, I discovered the issue in my grails-app/conf/Config.groovy file. I had a configuration parameter that I had forgotten to quote which contained a / character.

I fixed the syntax error in Config.groovy and the problem went away.

Here's the stack trace to help confirm you've run into the same issue.

groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigObject.div() is applicable for argument types: (groovy.util.ConfigObject) values: [[:]]
    at Config.run(Config.groovy:41)
    at GrailsPackagegroovy$runclosure1.doCall(GrailsPackagegroovy:45)
    at GrailsPackagegroovy$runclosure2closure10.doCall(GrailsPackagegroovy:87)
    at _GrailsPackagegroovy$runclosure2closure10.doCall(GrailsPackagegroovy)
    at _GrailsSettingsgroovy$runclosure10.doCall(GrailsSettingsgroovy:274)
    at GrailsSettingsgroovy$runclosure10.call(GrailsSettingsgroovy)
    at GrailsPackagegroovy$runclosure2.doCall(GrailsPackagegroovy:86)
    at GrailsBootstrapgroovy$runclosure7.doCall(GrailsBootstrapgroovy:140)
    at GrailsTestgroovy$runclosure7.doCall(GrailsTestgroovy:249)
    at GrailsTestgroovy$runclosure7.doCall(GrailsTestgroovy)
    at GrailsTestgroovy$runclosure1closure19.doCall(GrailsTestgroovy:110)
    at _GrailsTestgroovy$runclosure1.doCall(GrailsTestgroovy:96)
    at TestApp$runclosure1.doCall(TestApp.groovy:66)
    at gant.Gant$dispatchclosure4.doCall(Gant.groovy:324)
    at gant.Gant$dispatchclosure6.doCall(Gant.groovy:334)
    at gant.Gant$dispatchclosure6.doCall(Gant.groovy)
    at gant.Gant.withBuildListeners(Gant.groovy:344)
    at gant.Gant.this$2$withBuildListeners(Gant.groovy)
    at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
    at gant.Gant.dispatch(Gant.groovy:334)
    at gant.Gant.this$2$dispatch(Gant.groovy)
    at gant.Gant.invokeMethod(Gant.groovy)
    at gant.Gant.processTargets(Gant.groovy:495)
    at gant.Gant.processTargets(Gant.groovy:480)
Failed to compile configuration file: No signature of method: groovy.util.ConfigObject.div() is applicable for argument types: (groovy.util.ConfigObject) values: [[:]]