When I run any test with: grails test-app -coverage -xml -append
I get the following stacktrace
| Error Error running forked test-app: No such property: grailsApp for class: _Events (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
groovy.lang.MissingPropertyException: No such property: grailsApp for class: _Events
at _Events.replaceClosureNamesInReports(_Events.groovy:107)
at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254)
at _Events$_run_closure3.doCall(_Events.groovy:61)
at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254)
at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254)
| Error Error running forked test-app: No such property: grailsApp for class: _Events
In Jenkins, this causes the build to fail since the forked VM exits with an error message.
When I run any test with: grails test-app -coverage -xml -append
I get the following stacktrace
| Error Error running forked test-app: No such property: grailsApp for class: _Events (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) groovy.lang.MissingPropertyException: No such property: grailsApp for class: _Events at _Events.replaceClosureNamesInReports(_Events.groovy:107) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254) at _Events$_run_closure3.doCall(_Events.groovy:61) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1254) | Error Error running forked test-app: No such property: grailsApp for class: _Events
In Jenkins, this causes the build to fail since the forked VM exits with an error message.