-
-
Notifications
You must be signed in to change notification settings - Fork 2k
first @notused Scenario in feature caused exception #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Really? That's all you have to say? |
add this terminated execution of feature. |
Either you added instructions at the end or I missed them because it blended in with your stack trace. Can you triple-backtick using github flavored markdown to make this legible please? |
make first scenario to be skipped!
OK. There's a sample. |
It appears that this has been fixed with the resolution of #476. I can't quite confirm this as there is no proper reproducer but the stack trace is otherwise identical. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Caught: java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at gherkin.formatter.JSONFormatter.getFeatureElement(JSONFormatter.java:147)
at gherkin.formatter.JSONFormatter.addHook(JSONFormatter.java:104)
at gherkin.formatter.JSONFormatter.before(JSONFormatter.java:95)
at cucumber.runtime.Utils$1.call(Utils.java:44)
at cucumber.runtime.Timeout.timeout(Timeout.java:12)
at cucumber.runtime.Utils.invoke(Utils.java:40)
at cucumber.runtime.RuntimeOptions$2.invoke(RuntimeOptions.java:138)
at $Proxy5.before(Unknown Source)
at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:207)
at cucumber.runtime.Runtime.runHooks(Runtime.java:187)
at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:178)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:32)
at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:117)
at cucumber.runtime.Runtime.run(Runtime.java:108)
at cucumber.runtime.Runtime.run(Runtime.java:96)
at cucumber.runtime.Runtime$run.call(Unknown Source)
ps:i am using cucumber-jvm 1.1.2-snapshot
change tag from important to notused in examples\groovy-calculator\src\test\resources\divesion.feature
after run featuren by cmd , then the exception will appear
The text was updated successfully, but these errors were encountered: