Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.14.1
-
None
-
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 21:51:28+0800)
Maven home: /opt/maven/latest
Java version: 1.6.0_43, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk-x64/jdk1.6.0_43/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.8.7-201.fc18.x86_64", arch: "amd64", family: "unix"
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 21:51:28+0800) Maven home: /opt/maven/latest Java version: 1.6.0_43, vendor: Sun Microsystems Inc. Java home: /usr/java/jdk-x64/jdk1.6.0_43/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "linux", version: "3.8.7-201.fc18.x86_64", arch: "amd64", family: "unix"
Description
When running Cucumber-jvm with the maven-failsafe I get the following NullPointerException:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.14.1:integration-test (default) on project mvn-parallel-failure: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.14.1:integration-test failed: There was an error in the forked process
[ERROR] java.lang.NullPointerException
[ERROR] at org.junit.runner.Description.createSuiteDescription(Description.java:123)
[ERROR] at org.apache.maven.surefire.common.junit48.FilterFactory$GroupMatcherCategoryFilter.shouldRun(FilterFactory.java:213)
[ERROR] at org.junit.runners.ParentRunner.shouldRun(ParentRunner.java:373)
[ERROR] at org.junit.runners.ParentRunner.filter(ParentRunner.java:326)
[ERROR] at org.junit.runner.manipulation.Filter.apply(Filter.java:97)
[ERROR] at org.junit.runners.ParentRunner.filter(ParentRunner.java:328)
[ERROR] at org.junit.runner.manipulation.Filter.apply(Filter.java:97)
[ERROR] at org.junit.runners.ParentRunner.filter(ParentRunner.java:328)
[ERROR] at org.junit.runner.manipulation.Filter.apply(Filter.java:97)
[ERROR] at org.junit.runners.ParentRunner.filter(ParentRunner.java:328)
[ERROR] at org.junit.runner.manipulation.Filter.apply(Filter.java:97)
[ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper$FilteringRequest.<init>(JUnitCoreWrapper.java:56)
[ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createReqestAndRun(JUnitCoreWrapper.java:131)
[ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:111)
[ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:84)
[ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:138)
[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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
[ERROR] -> [Help 1]
When running the test directly through Eclipse, the test fails as expected with the following output:
cucumber.api.PendingException: TODO: implement me
at au.com.permeance.CucumberSteps.I_have_opened_Google(CucumberSteps.java:12)
at â½.Given I have opened Google(features/Search.feature:8)