Enter code here.4:14:43 PM: Executing external task 'cucumber'...:compileJava UP-TO-DATE:compileGroovy UP-TO-DATE:processResources UP-TO-DATE:classes UP-TO-DATE:jar UP-TO-DATE:assemble UP-TO-DATE:compileTestJava UP-TO-DATE:compileTestGroovy UP-TO-DATE:processTestResources UP-TO-DATE:testClasses UP-TO-DATE:compileCucumberJava UP-TO-DATE:compileCucumberGroovy UP-TO-DATE:processCucumberResources UP-TO-DATE:cucumberClasses UP-TO-DATE:downloadChromeDriver UP-TO-DATE:unzipChromeDriver UP-TO-DATE:downloadPhantomJs UP-TO-DATE:unzipPhantomJs UP-TO-DATEWARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead.WARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead.WARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead.:cucumber# This example demonstrates using the custom steps written in# src/cucumber/glue/stepsFeature: Geb web site navigation with custom steps [31mFailure in before hook: [0m [31mNavigationStepsEN.groovy:41 [0m [31mMessage: [0m [31mjava.lang.IllegalStateException: No packages set using either PageFinderSetup.setPackageNames or geb.cucumber.step.packages system property at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at io.jdev.geb.cucumber.core.PageFinderSetup.initPackageNames(PageFinderSetup.groovy:36) at io.jdev.geb.cucumber.core.PageFinderSetup.getPackageNames(PageFinderSetup.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.core.en.PageFinderEN.getInstance(PageFinderEN.groovy:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.steps.groovy.en.NavigationStepsEN$_run_closure1.doCall(NavigationStepsEN.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:200) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m [31mjava.lang.IllegalStateException: No packages set using either PageFinderSetup.setPackageNames or geb.cucumber.step.packages system property at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at io.jdev.geb.cucumber.core.PageFinderSetup.initPackageNames(PageFinderSetup.groovy:36) at io.jdev.geb.cucumber.core.PageFinderSetup.getPackageNames(PageFinderSetup.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.core.en.PageFinderEN.getInstance(PageFinderEN.groovy:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.steps.groovy.en.NavigationStepsEN$_run_closure1.doCall(NavigationStepsEN.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:200) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m [31mFailure in after hook: [0m [31menv.groovy:27 [0m [31mMessage: [0m [31mjava.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m [31mjava.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m
Scenario: Find what I'm looking for with custom steps [90m# features/gebish-custom.feature:6 [0m [36mGiven [0m [36mI am on the Geb home page [0m [90m# gebish_steps.groovy:9 [0m [36mThen [0m [36mthe first heading on the page is ' [0m [36m [1mWhat is it? [0m [36m' [0m [90m# gebish_steps.groovy:13 [0m [36mWhen [0m [36mthe link to the cross browser page is clicked [0m [90m# gebish_steps.groovy:17 [0m [36mThen [0m [36mthe first heading on the page is ' [0m [36m [1mCross Browser Automation [0m [36m' [0m [90m# gebish_steps.groovy:13 [0m# This example demonstrates using the pre-built steps in the# geb-cucumber libraryFeature: Geb web site navigation with prebuilt steps [31mFailure in after hook: [0m [31menv.groovy:27 [0m [31mMessage: [0m [31mjava.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m [31mjava.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) [0m
Scenario: Find what I'm looking for with prebuilt steps [90m# features/gebish-prebuilt.feature:6 [0m [32mWhen [0m [32mI go to the [0m [32m [1mGeb home page [0m [90m# NavigationStepsEN.groovy:49 [0m [32mThen [0m [32mthe [0m [32m [1mfirst heading [0m [32m has the value [0m [32m [1m'What is it?' [0m [90m# InteractionStepsEN.groovy:69 [0m [32mWhen [0m [32mI click the [0m [32m [1mcross browser link [0m [90m# InteractionStepsEN.groovy:89 [0m [32mThen [0m [32mthe [0m [32m [1mfirst heading [0m [32m has the value [0m [32m [1m'Cross Browser Automation' [0m [90m# InteractionStepsEN.groovy:69 [0m
2 Scenarios ( [31m2 failed [0m)8 Steps ( [36m4 skipped [0m, [32m4 passed [0m)0m5.763s
java.lang.IllegalStateException: No packages set using either PageFinderSetup.setPackageNames or geb.cucumber.step.packages system property at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at io.jdev.geb.cucumber.core.PageFinderSetup.initPackageNames(PageFinderSetup.groovy:36) at io.jdev.geb.cucumber.core.PageFinderSetup.getPackageNames(PageFinderSetup.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.core.en.PageFinderEN.getInstance(PageFinderEN.groovy:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1843) at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3689) at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at io.jdev.geb.cucumber.steps.groovy.en.NavigationStepsEN$_run_closure1.doCall(NavigationStepsEN.groovy:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:200) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)
java.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)
java.lang.NullPointerException: Cannot invoke method remove() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at env$_run_closure2.doCall(env.groovy:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015) at groovy.lang.Closure.call(Closure.java:423) at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:155) at cucumber.runtime.groovy.GroovyHookDefinition$1.call(GroovyHookDefinition.java:46) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.groovy.GroovyHookDefinition.execute(GroovyHookDefinition.java:43) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222) at cucumber.runtime.Runtime.runHooks(Runtime.java:210) at cucumber.runtime.Runtime.runAfterHooks(Runtime.java:204) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:50) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163) at cucumber.runtime.Runtime.run(Runtime.java:120) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)
:cucumber FAILED
FAILURE: Build failed with an exception.
* What went wrong:Execution failed for task ':cucumber'.> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.969 secsProcess 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java'' finished with non-zero exit value 14:14:53 PM: External task execution finished 'cucumber'...
Enter code here...Dean-OPI-2:geb-example-cucumber-jvm deandelponte$ ./gradlew clean
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
:clean
BUILD SUCCESSFUL
Total time: 4.589 secs
Dean-OPI-2:geb-example-cucumber-jvm deandelponte$ ./gradlew build
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar
:assemble
:compileTestJava UP-TO-DATE
:compileTestGroovy
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
:processTestResources
:testClasses
:test
:check
:build
BUILD SUCCESSFUL
Total time: 6.22 secs
Dean-OPI-2:geb-example-cucumber-jvm deandelponte$
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/a7c5e1ab-558a-41f1-a0e6-23f24d535726%40googlegroups.com.
/gradew cucumber
...
Erdi’s MacBook Pro:geb-example-cucumber-jvm erdi$ ./gradlew --version
------------------------------------------------------------
Gradle 2.1
------------------------------------------------------------
Build time: 2014-09-08 10:40:39 UTC
Build number: none
Revision: e6cf70745ac11fa943e19294d19a2c527a669a53
Groovy: 2.3.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_67 (Oracle Corporation 24.65-b04)
OS: Mac OS X 10.10.3 x86_64
Erdi’s MacBook Pro:geb-example-cucumber-jvm erdi$ ./gradlew cucumber
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:compileTestGroovy
:processTestResources UP-TO-DATE
:testClasses
:compileCucumberJava UP-TO-DATE
:compileCucumberGroovy UP-TO-DATE
:processCucumberResources
:cucumberClasses
:downloadChromeDriver UP-TO-DATE
:unzipChromeDriver UP-TO-DATE
:downloadPhantomJs UP-TO-DATE
:unzipPhantomJs UP-TO-DATE
:cucumber
# This example demonstrates using the custom steps written in
# src/cucumber/glue/steps
Feature: Geb web site navigation with custom steps
Scenario: Find what I'm looking for with custom steps # features/gebish-custom.feature:6
Given I am on the Geb home page # gebish_steps.groovy:9
Then the first heading on the page is 'What is it?' # gebish_steps.groovy:13
When the link to the cross browser page is clicked # gebish_steps.groovy:17
Then the first heading on the page is 'Cross Browser Automation' # gebish_steps.groovy:13
# This example demonstrates using the pre-built steps in the
# geb-cucumber library
Feature: Geb web site navigation with prebuilt steps
Scenario: Find what I'm looking for with prebuilt steps # features/gebish-prebuilt.feature:6
When I go to the Geb home page # NavigationStepsEN.groovy:25
Then the first heading has the value 'What is it?' # InteractionStepsEN.groovy:37
When I click the cross browser link # InteractionStepsEN.groovy:57
Then the first heading has the value 'Cross Browser Automation' # InteractionStepsEN.groovy:37
2 Scenarios (2 passed)
8 Steps (8 passed)
0m6.419s
BUILD SUCCESSFUL
Total time: 15.096 secs
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/bfa439b7-9b3f-4319-8c8d-5d00fdf3638b%40googlegroups.com.
./gradlew -Dgeb.env=chrome cucumber
...
...
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/582fab7b-04f0-450d-8abd-ca5dc5b37939%40googlegroups.com.
...
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/2b6fcc92-0c74-49cd-be32-54a9b1e80f51%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/d99a5f62-5bc0-4b57-b0d9-e7ffb730b46c%40googlegroups.com.