{"action":"created","issue":{"url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/4","labels_url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/4/comments","events_url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/4/events","html_url":"https://github.com/alexvictoor/pitest-cucumber-plugin/issues/4","id":54977136,"number":4,"title":"crashing when using Cucumber 1.2.0, getting NoClassDefFoundError","user":{"login":"vincent-fuchs","id":9657583,"avatar_url":"https://avatars.githubusercontent.com/u/9657583?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-fuchs","html_url":"https://github.com/vincent-fuchs","followers_url":"https://api.github.com/users/vincent-fuchs/followers","following_url":"https://api.github.com/users/vincent-fuchs/following{/other_user}","gists_url":"https://api.github.com/users/vincent-fuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-fuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-fuchs/subscriptions","organizations_url":"https://api.github.com/users/vincent-fuchs/orgs","repos_url":"https://api.github.com/users/vincent-fuchs/repos","events_url":"https://api.github.com/users/vincent-fuchs/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-fuchs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T04:42:20Z","updated_at":"2015-02-06T12:24:13Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using Cucumber jvm 1.2.0 on my project, and when using the PIT plugin, it's crashing, because of NoClassDefFoundError.\r\n\r\n```\r\n10:08:11 AM PIT >> INFO : SLAVE : 10:08:11 AM PIT >> SEVERE : Error calculating coverage. Process will exit.\r\njava.lang.NoClassDefFoundError: cucumber/api/junit/Cucumber$Options\r\n        at org.pitest.cucumber.CucumberTestUnitFinder.findTestUnits(CucumberTestUnitFinder.java:25)\r\n        at org.pitest.ju\r\n10:08:11 AM PIT >> SEVERE : Coverage generator Slave exited abnormally due to UNKNOWN_ERROR\r\n```\r\nIt looks like this class has been removed from latest version of Cucumber. When downgrading to 1.1.8 (the same version referenced in the plugin pom.xml), it worked fine. I think all is needed is l.25 in CucumberTestUnitFinder to remove the search for Cucumber.Options.class , which doesn't exist anymore, ie :\r\n\r\n```\r\nRuntimeOptionsFactory runtimeOptionsFactory = new RuntimeOptionsFactory(junitTestClass, new Class[]{CucumberOptions.class});\r\n```\r\n\r\ninstead of \r\n\r\n```\r\nRuntimeOptionsFactory runtimeOptionsFactory = new RuntimeOptionsFactory(junitTestClass, new Class[]{CucumberOptions.class, Cucumber.Options.class});\r\n```"},"comment":{"url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/comments/73229066","html_url":"https://github.com/alexvictoor/pitest-cucumber-plugin/issues/4#issuecomment-73229066","issue_url":"https://api.github.com/repos/alexvictoor/pitest-cucumber-plugin/issues/4","id":73229066,"user":{"login":"alexec","id":1142830,"avatar_url":"https://avatars.githubusercontent.com/u/1142830?v=3","gravatar_id":"","url":"https://api.github.com/users/alexec","html_url":"https://github.com/alexec","followers_url":"https://api.github.com/users/alexec/followers","following_url":"https://api.github.com/users/alexec/following{/other_user}","gists_url":"https://api.github.com/users/alexec/gists{/gist_id}","starred_url":"https://api.github.com/users/alexec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexec/subscriptions","organizations_url":"https://api.github.com/users/alexec/orgs","repos_url":"https://api.github.com/users/alexec/repos","events_url":"https://api.github.com/users/alexec/events{/privacy}","received_events_url":"https://api.github.com/users/alexec/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T12:24:13Z","updated_at":"2015-02-06T12:24:13Z","body":"+1 also on 1.2.2"}}