cucumber.runtime.CucumberException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • gherkin.lexer.LexingError: Lexing error on line 2:
    via by shankar garg,
  • Cucumber Framework errors
    via Stack Overflow by jagadish
    ,
  • Running feature file with TestNG
    via Stack Overflow by Nivi
    ,
    • cucumber.runtime.CucumberException: Error parsing feature file C:/Users/user/Documents/Xebia/Docs/cucumber/Book/Project/src/test/java/com/features/french.feature at cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:133) at cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:102) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34) at cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:201) at cucumber.runtime.Runtime.run(Runtime.java:109) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18) Caused by: gherkin.lexer.LexingError: Lexing error on line 1: '# language: fr Fonctionnalité: Exemple bonjour Scénario: Exemple bonjours Soit: utilisateur est sur demande page d'atterrissage %_FEATURE_END_%'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information. at gherkin.lexer.Fr.scan(Fr.java:918) at gherkin.lexer.I18nLexer.scan(I18nLexer.java:36) at gherkin.parser.Parser.parse(Parser.java:62) at cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:131) ... 7 more

    Users with the same issue

    raytest
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    9 more bugmates