{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/159","repository_url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/159/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/159/events","html_url":"https://github.com/serenity-bdd/serenity-cucumber/issues/159","id":338554100,"node_id":"MDU6SXNzdWUzMzg1NTQxMDA=","number":159,"title":"java.lang.NoSuchMethodError: cucumber.runtime.RuntimeOptions.getTagFilters()Ljava/util/List","user":{"login":"subashniprasannasagecom","id":39095372,"node_id":"MDQ6VXNlcjM5MDk1Mzcy","avatar_url":"https://avatars3.githubusercontent.com/u/39095372?v=4","gravatar_id":"","url":"https://api.github.com/users/subashniprasannasagecom","html_url":"https://github.com/subashniprasannasagecom","followers_url":"https://api.github.com/users/subashniprasannasagecom/followers","following_url":"https://api.github.com/users/subashniprasannasagecom/following{/other_user}","gists_url":"https://api.github.com/users/subashniprasannasagecom/gists{/gist_id}","starred_url":"https://api.github.com/users/subashniprasannasagecom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subashniprasannasagecom/subscriptions","organizations_url":"https://api.github.com/users/subashniprasannasagecom/orgs","repos_url":"https://api.github.com/users/subashniprasannasagecom/repos","events_url":"https://api.github.com/users/subashniprasannasagecom/events{/privacy}","received_events_url":"https://api.github.com/users/subashniprasannasagecom/received_events","type":"User","site_admin":false},"labels":[{"id":387224216,"node_id":"MDU6TGFiZWwzODcyMjQyMTY=","url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-05T12:30:00Z","updated_at":"2018-09-21T14:01:06Z","closed_at":null,"author_association":"NONE","body":"When i try to run the cucumber test with \r\n@RunWith(CucumberWithSerenity.class)\r\n@CucumberOptions(\r\n        plugin = {\"pretty\", \"html:target/cucumber-html-report\"},\r\nfeatures={\"classpath:com/fs/AC8InheritingPattern.feature\"\r\n//                ,\"classpath:com/fs/TearDown.feature\"\r\n        })\r\n        public class RunnerTest {\r\n    }\r\n\r\ni get the following exception \r\n\r\njava.lang.NoSuchMethodError: cucumber.runtime.RuntimeOptions.getTagFilters()Ljava/util/List;\r\n\r\n\tat net.serenitybdd.cucumber.CucumberWithSerenity.createRuntime(CucumberWithSerenity.java:52)\r\n\tat cucumber.api.junit.Cucumber.<init>(Cucumber.java:59)\r\n\tat net.serenitybdd.cucumber.CucumberWithSerenity.<init>(CucumberWithSerenity.java:38)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)\r\n\tat org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)\r\n\tat org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)\r\n\tat org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)\r\n\tat org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)\r\n\tat org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)\r\n\tat com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)\r\n\r\n\r\nProcess finished with exit code -1\r\n\r\ni have the following maven dependency \r\n\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-jvm</artifactId>\r\n\t\t\t<version>1.2.5</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t</dependencies>\r\n\r\n             <dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-java8</artifactId>\r\n\t\t\t<version>1.2.5</version>\r\n\t\t</dependency>\r\n\t\t\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-junit</artifactId>\r\n\t\t\t<version>1.2.5</version>\r\n<dependency>\r\n\t\t\t<groupId>net.serenity-bdd</groupId>\r\n\t\t\t<artifactId>core</artifactId>\r\n\t\t\t<version>1.0.47</version>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>net.serenity-bdd</groupId>\r\n\t\t\t<artifactId>serenity-core</artifactId>\r\n\t\t\t<version>1.9.28</version>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t<groupId>net.serenity-bdd</groupId>\r\n\t\t<artifactId>serenity-junit</artifactId>\r\n\t\t<version>1.9.28</version>\r\n\t\t\t<exclusions>\r\n\t\t\t\t<exclusion>\r\n\t\t\t\t\t<artifactId>commons-logging</artifactId>\r\n\t\t\t\t\t<groupId>commons-logging</groupId>\r\n\t\t\t\t</exclusion>\r\n\t\t\t\t<exclusion>\r\n\t\t\t\t\t<groupId>org.slf4j</groupId>\r\n\t\t\t\t\t<artifactId>slf4j-log4j12</artifactId>\r\n\t\t\t\t</exclusion>\r\n\t\t\t</exclusions>\r\n\t</dependency>\r\n\t\t\t<dependency>\r\n\t\t\t<groupId>net.serenity-bdd</groupId>\r\n\t\t\t<artifactId>serenity-cucumber</artifactId>\r\n\t\t\t<version>1.9.7</version>\r\n\t\t\t<exclusions>\r\n\t\t\t\t<exclusion>\r\n\t\t\t\t\t<artifactId>commons-logging</artifactId>\r\n\t\t\t\t\t<groupId>commons-logging</groupId>\r\n\t\t\t\t</exclusion>\r\n\t\t\t\t<exclusion>\r\n\t\t\t\t\t<groupId>org.slf4j</groupId>\r\n\t\t\t\t\t<artifactId>slf4j-log4j12</artifactId>\r\n\t\t\t\t</exclusion>\r\n\t\t\t</exclusions>\r\n\t\t</dependency>"},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/comments/423541261","html_url":"https://github.com/serenity-bdd/serenity-cucumber/issues/159#issuecomment-423541261","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-cucumber/issues/159","id":423541261,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzU0MTI2MQ==","user":{"login":"sumitvijaykumar","id":22951021,"node_id":"MDQ6VXNlcjIyOTUxMDIx","avatar_url":"https://avatars2.githubusercontent.com/u/22951021?v=4","gravatar_id":"","url":"https://api.github.com/users/sumitvijaykumar","html_url":"https://github.com/sumitvijaykumar","followers_url":"https://api.github.com/users/sumitvijaykumar/followers","following_url":"https://api.github.com/users/sumitvijaykumar/following{/other_user}","gists_url":"https://api.github.com/users/sumitvijaykumar/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitvijaykumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitvijaykumar/subscriptions","organizations_url":"https://api.github.com/users/sumitvijaykumar/orgs","repos_url":"https://api.github.com/users/sumitvijaykumar/repos","events_url":"https://api.github.com/users/sumitvijaykumar/events{/privacy}","received_events_url":"https://api.github.com/users/sumitvijaykumar/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T14:01:06Z","updated_at":"2018-09-21T14:01:06Z","author_association":"NONE","body":"Even I got the same issue while trying to run test runner with CucumberWithSerenity.class\r\n\r\nI observed that the missing method cucumber.runtime.RuntimeOptions.getTagFilters() is renamed to getFilters() in RuntimeOptions class.\r\n\r\nHowever I was able to run the test runner with Cucumber.class.\r\n************************\r\nHere is my pom.xml file:\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n\t<modelVersion>4.0.0</modelVersion>\r\n\r\n\t<groupId>desaru</groupId>\r\n\t<artifactId>automation</artifactId>\r\n\t<version>0.0.1-SNAPSHOT</version>\r\n\r\n\t<name>automation</name>\r\n\t<url>http://maven.apache.org</url>\r\n\r\n\t<properties>\r\n\t\t<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r\n\t\t<gherkin.version>2.12.2</gherkin.version>\r\n\t\t<junit.version>4.12</junit.version>\r\n\t\t<cucumber.junit.version>1.2.2</cucumber.junit.version>\r\n\t\t<cucumber.jvm.version>1.2.2</cucumber.jvm.version>\r\n\t\t<cucumber.java.version>1.2.2</cucumber.java.version>\r\n\t\t<cucumber.core.version>1.2.2</cucumber.core.version>\r\n\t\t<assertj.core.version>3.11.0</assertj.core.version>\r\n\t\t<selenium.server.version>3.14.0</selenium.server.version>\r\n\t\t<selenium.java.version>3.14.0</selenium.java.version>\r\n\t\t<log4j.api.version>2.11.0</log4j.api.version>\r\n\t\t<log4j.core.version>2.11.0</log4j.core.version>\r\n\t\t<serenity.core.version>1.9.45</serenity.core.version>\r\n\t\t<serenity.maven.version>1.1.21</serenity.maven.version>\r\n\t\t<serenity.cucumber.version>1.9.14</serenity.cucumber.version>\r\n\t\t<serenity.junit.version>1.0.23</serenity.junit.version>\r\n\t\t<maven.surefire.plugin>2.20</maven.surefire.plugin>\r\n\t\t<maven.failsafe.plugin>2.20</maven.failsafe.plugin>\r\n\t\t<maven.compiler.plugin>3.7.0</maven.compiler.plugin>\r\n\t\t<webdriver.driver>chrome</webdriver.driver>\r\n\t\t<webdriver.base.url>http://scmedtest.desarucoast.com</webdriver.base.url>\r\n\t</properties>\r\n\r\n\t<dependencies>\r\n\t\t<!-- https://mvnrepository.com/artifact/info.cukes/gherkin -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>gherkin</artifactId>\r\n\t\t\t<version>${gherkin.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/junit/junit -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>junit</groupId>\r\n\t\t\t<artifactId>junit</artifactId>\r\n\t\t\t<version>${junit.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-junit -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-junit</artifactId>\r\n\t\t\t<version>${cucumber.junit.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-jvm -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-jvm</artifactId>\r\n\t\t\t<version>${cucumber.jvm.version}</version>\r\n\t\t\t<type>pom</type>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-java -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-java</artifactId>\r\n\t\t\t<version>${cucumber.java.version}</version>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/info.cukes/cucumber-core -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>info.cukes</groupId>\r\n\t\t\t<artifactId>cucumber-core</artifactId>\r\n\t\t\t<version>${cucumber.core.version}</version>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.assertj</groupId>\r\n\t\t\t<artifactId>assertj-core</artifactId>\r\n\t\t\t<version>${assertj.core.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.seleniumhq.selenium</groupId>\r\n\t\t\t<artifactId>selenium-server</artifactId>\r\n\t\t\t<version>${selenium.server.version}</version>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.seleniumhq.selenium</groupId>\r\n\t\t\t<artifactId>selenium-java</artifactId>\r\n\t\t\t<version>${selenium.java.version}</version>\r\n\t\t</dependency>\r\n\t\t<!-- https://mvnrepository.com/artifact/com.relevantcodes/extentreports -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>com.relevantcodes</groupId>\r\n\t\t\t<artifactId>extentreports</artifactId>\r\n\t\t\t<version>2.41.2</version>\r\n\t\t</dependency>\r\n\t\t<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.apache.logging.log4j</groupId>\r\n\t\t\t<artifactId>log4j-api</artifactId>\r\n\t\t\t<version>${log4j.api.version}</version>\r\n\t\t</dependency>\r\n\t\t<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.apache.logging.log4j</groupId>\r\n\t\t\t<artifactId>log4j-core</artifactId>\r\n\t\t\t<version>${log4j.core.version}</version>\r\n\t\t</dependency>\r\n\t\t\r\n        <dependency>\r\n            <groupId>net.serenity-bdd</groupId>\r\n            <artifactId>serenity-core</artifactId>\r\n            <version>${serenity.core.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>net.serenity-bdd</groupId>\r\n            <artifactId>serenity-junit</artifactId>\r\n            <version>${serenity.junit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>net.serenity-bdd</groupId>\r\n            <artifactId>serenity-cucumber</artifactId>\r\n            <version>${serenity.cucumber.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    </dependencies>\r\n    <build>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-surefire-plugin</artifactId>\r\n                <version>2.20</version>\r\n                <configuration>\r\n                    <skip>true</skip>\r\n                </configuration>\r\n            </plugin>\r\n            <plugin>\r\n                <artifactId>maven-failsafe-plugin</artifactId>\r\n                <version>2.20</version>\r\n                <configuration>\r\n                    <includes>\r\n                        <include>**/*Test.java</include>\r\n                        <include>**/Test*.java</include>\r\n                        <include>**/*TestSuite.java</include>\r\n                        <include>**/When*.java</include>\r\n                    </includes>\r\n                    <systemPropertyVariables>\r\n                        <webdriver.base.url>${webdriver.base.url}</webdriver.base.url>\r\n                    </systemPropertyVariables>\r\n                    <parallel>classes</parallel>\r\n                    <threadCount>1</threadCount>\r\n                    <forkCount>1</forkCount>\r\n                </configuration>\r\n                <executions>\r\n                    <execution>\r\n                        <goals>\r\n                            <goal>integration-test</goal>\r\n                            <goal>verify</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-compiler-plugin</artifactId>\r\n                <version>3.7.0</version>\r\n                <configuration>\r\n                    <source>1.8</source>\r\n                    <target>1.8</target>\r\n                </configuration>\r\n            </plugin>\r\n            <plugin>\r\n                <groupId>net.serenity-bdd.maven.plugins</groupId>\r\n                <artifactId>serenity-maven-plugin</artifactId>\r\n                <version>${serenity.maven.version}</version>\r\n                <configuration>\r\n                  <tags>${tags}</tags>\r\n                </configuration>\r\n                <executions>\r\n                    <execution>\r\n                        <id>serenity-reports</id>\r\n                        <phase>post-integration-test</phase>\r\n                        <goals>\r\n                            <goal>aggregate</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n        </plugins>\r\n    </build>\r\n</project>\r\n\r\n\r\n"}}
{"actor":{"display_login":"sumitvijaykumar"}}