hauner / grails-cucumber

a Cucumber plugin for Grails
https://github.com/hauner/grails-cucumber
63 stars 35 forks source link

java.lang.NullPointerException with 'grails test-app' #27

Closed balexander123 closed 11 years ago

balexander123 commented 11 years ago

Tried the instructions at https://github.com/hauner/grails-cucumber/wiki/Testing-Grails-with-Cucumber-and-Geb

I ran into an issue with running 'grails test-app' to validate the cucumber and geb plugin install

My project can be found here: https://github.com/balexander123/Books

Here's the output...

Loading Grails 2.2.2 | Configuring classpath. | Environment set to test..... | Packaging Grails application..... | Tests FAILED - view reports in /Users/barryalexander/Documents/workspace-ggts/Books/target/test-reports | Error java.lang.NullPointerException | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | Error at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ...

hauner commented 11 years ago

Hi,

unfortunately I am unable to reproduce your error.

When I test-app your code I get:

| Error Error executing script TestApp: java.lang.IllegalArgumentException: Not a file or directory: /Users/hauner/Development/Grails/Books-master/test/cucumber (Use --stacktrace to see the full trace) 

which makes sense, because the dir does not exist. Creating it I get another error:

| Error Error executing script TestApp: cucumber.runtime.CucumberException: No features found at [test/cucumber] (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)

which does make sense as well...

Does the stacktrace list anything plugin related? Does it contain grails.plugin.cucumber.CucumberTestType?

balexander123 commented 11 years ago

There's nothing related to plugins, and no grails.plugin.cucumber.CucumberTestType

The stack trace seems to be groovy stack trace related. Here is the actual stack trace I am getting:

Loading Grails 2.2.2

| Configuring classpath.

| Environment set to test.....

| Packaging Grails application.....

| Tests FAILED - view reports in /Users/barryalexander/Documents/workspace-ggts/Books/target/test-reports

| Error java.lang.NullPointerException

| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

| Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

| Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)

| Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)

| Error at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at gant.Gant.withBuildListeners(Gant.groovy:427)

| Error at gant.Gant.this$2$withBuildListeners(Gant.groovy)

| Error at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at gant.Gant.dispatch(Gant.groovy:415)

| Error at gant.Gant.this$2$dispatch(Gant.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:729)

| Error at gant.Gant.invokeMethod(Gant.groovy)

| Error at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)

| Error at gant.Gant.executeTargets(Gant.groovy:591)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)

| Error at gant.Gant.executeTargets(Gant.groovy:590)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:768)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:566)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:465)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:416)

| Error at org.grails.ide.api.impl.GrailsConnectorImpl.executeCommand(GrailsConnectorImpl.java:144)

| Error at org.grails.ide.eclipse.longrunning.process.GrailsProcess.run(GrailsProcess.java:126)

| Error at org.grails.ide.eclipse.longrunning.process.GrailsProcess.main(GrailsProcess.java:89)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234)

| Error at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262)

| Error Caused by: java.lang.NullPointerException

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGroovyObjectGetPropertySite(AbstractCallSite.java:254)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGroovyObjectGetProperty(AbstractCallSite.java:239)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)

| Error at org.grails.plugins.tomcat.TomcatServer.(TomcatServer.groovy:58)

| Error at org.grails.plugins.tomcat.InlineExplodedTomcatServer.(InlineExplodedTomcatServer.groovy)

| Error at org.grails.plugins.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:40)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runInline(GrailsProjectRunner.groovy:144)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runApp(GrailsProjectRunner.groovy:80)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner$runApp.call(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:65)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)

| Error at _GrailsTest_groovy$_run_closure11.doCall(_GrailsTest_groovy:394)

| Error at _GrailsTest_groovy$_run_closure11.doCall(_GrailsTest_groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)

| Error at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:109)

| Error at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:192)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.Closure.call(Closure.java:412)

| Error at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:3870)

| Error at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1355)

| Error at org.codehaus.groovy.runtime.dgm$149.invoke(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)

| Error at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)

| Error at TestApp$_run_closure1.doCall(TestApp.groovy:82)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)

| Error ... 76 more

On Sun, Jul 7, 2013 at 1:05 PM, Martin Hauner notifications@github.comwrote:

Hi,

unfortunately I am unable to reproduce your error.

When I test-app your code I get:

| Error Error executing script TestApp: java.lang.IllegalArgumentException: Not a file or directory: /Users/hauner/Development/Grails/Books-master/test/cucumber (Use --stacktrace to see the full trace)

which makes sense, because the dir does not exist. Creating it I get another error:

| Error Error executing script TestApp: cucumber.runtime.CucumberException: No features found at [test/cucumber](NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)

which does make sense as well...

Does the stacktrace list anything plugin related? Does it contain grails.plugin.cucumber.CucumberTestType?

— Reply to this email directly or view it on GitHubhttps://github.com/hauner/grails-cucumber/issues/27#issuecomment-20576525 .

balexander123 commented 11 years ago

Hey Martin, it turns out nothing related to the cucumber plugin. I came across this issue with the groovy/grail toolkit

https://issuetracker.springsource.com/browse/STS-3358

I am seeing the same results as you reported. Thanks and sorry for the distraction.

On Sun, Jul 7, 2013 at 9:35 PM, Barry Alexander barry.alexander@gmail.comwrote:

There's nothing related to plugins, and no grails.plugin.cucumber.CucumberTestType

The stack trace seems to be groovy stack trace related. Here is the actual stack trace I am getting:

Loading Grails 2.2.2

| Configuring classpath.

| Environment set to test.....

| Packaging Grails application.....

| Tests FAILED - view reports in /Users/barryalexander/Documents/workspace-ggts/Books/target/test-reports

| Error java.lang.NullPointerException

| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

| Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

| Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)

| Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)

| Error at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at gant.Gant.withBuildListeners(Gant.groovy:427)

| Error at gant.Gant.this$2$withBuildListeners(Gant.groovy)

| Error at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at gant.Gant.dispatch(Gant.groovy:415)

| Error at gant.Gant.this$2$dispatch(Gant.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:729)

| Error at gant.Gant.invokeMethod(Gant.groovy)

| Error at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)

| Error at gant.Gant.executeTargets(Gant.groovy:591)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)

| Error at gant.Gant.executeTargets(Gant.groovy:590)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:768)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:566)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:465)

| Error at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:416)

| Error at org.grails.ide.api.impl.GrailsConnectorImpl.executeCommand(GrailsConnectorImpl.java:144)

| Error at org.grails.ide.eclipse.longrunning.process.GrailsProcess.run(GrailsProcess.java:126)

| Error at org.grails.ide.eclipse.longrunning.process.GrailsProcess.main(GrailsProcess.java:89)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234)

| Error at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262)

| Error Caused by: java.lang.NullPointerException

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGroovyObjectGetPropertySite(AbstractCallSite.java:254)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGroovyObjectGetProperty(AbstractCallSite.java:239)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)

| Error at org.grails.plugins.tomcat.TomcatServer.(TomcatServer.groovy:58)

| Error at org.grails.plugins.tomcat.InlineExplodedTomcatServer.(InlineExplodedTomcatServer.groovy)

| Error at org.grails.plugins.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:40)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runInline(GrailsProjectRunner.groovy:144)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runApp(GrailsProjectRunner.groovy:80)

| Error at org.codehaus.groovy.grails.project.container.GrailsProjectRunner$runApp.call(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:65)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)

| Error at _GrailsTest_groovy$_run_closure11.doCall(_GrailsTest_groovy:394)

| Error at _GrailsTest_groovy$_run_closure11.doCall(_GrailsTest_groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)

| Error at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:109)

| Error at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:192)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.Closure.call(Closure.java:412)

| Error at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:3870)

| Error at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1355)

| Error at org.codehaus.groovy.runtime.dgm$149.invoke(Unknown Source)

| Error at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)

| Error at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1128)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.Script.invokeMethod(Script.java:78)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)

| Error at TestApp$_run_closure1.doCall(TestApp.groovy:82)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)

| Error at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)

| Error at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:727)

| Error at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

| Error at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1147)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)

| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)

| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)

| Error at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

| Error at java.lang.reflect.Method.invoke(Method.java:597)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)

| Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)

| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

| Error at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)

| Error ... 76 more

On Sun, Jul 7, 2013 at 1:05 PM, Martin Hauner notifications@github.comwrote:

Hi,

unfortunately I am unable to reproduce your error.

When I test-app your code I get:

| Error Error executing script TestApp: java.lang.IllegalArgumentException: Not a file or directory: /Users/hauner/Development/Grails/Books-master/test/cucumber (Use --stacktrace to see the full trace)

which makes sense, because the dir does not exist. Creating it I get another error:

| Error Error executing script TestApp: cucumber.runtime.CucumberException: No features found at [test/cucumber](NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)

which does make sense as well...

Does the stacktrace list anything plugin related? Does it contain grails.plugin.cucumber.CucumberTestType?

— Reply to this email directly or view it on GitHubhttps://github.com/hauner/grails-cucumber/issues/27#issuecomment-20576525 .

hauner commented 11 years ago

No problem :) Thanks for the feedback that it was not related to the plugin.