Closed jfbreault closed 8 years ago
This would have been fixed by #289. However, it is not the intention to do any more releases of this library (Gherkin2), instead the work is focused on integrating the newly released Gherkin3 library in Cucumber-JVM (and make sure that this issue does not remain then). Therefore I close this issue as duplicate to cucumber/cucumber-jvm#638 that report the same issue on Cucumber-JVM.
Sometime, if you writ in scenario in a @Before method
stackTrace:
The error come from this line that return null https://github.com/cucumber/gherkin/blob/master/java/src/main/java/gherkin/formatter/JSONFormatter.java#L221 Any attempt to write something in scenario in @Before method will throw NPE