StackOverflowError in RegexStoryParser with long scenario titles

Description

Recently we started to use JBehave 3.5.1 in my project and since we use it as a way to automate our systems testing we have a need for rather long textual descriptions between the Scenario-keyword and the first Given. Then we run into the problem with long strings and the long known bug in Java RegExp library. I constructed a unit test that reproduces the error and then found a simple fix and some performance enhancement in the RegexStoryParser (patch attached).

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created November 21, 2011 at 7:29 PM
Updated May 22, 2015 at 8:19 AM
Resolved November 21, 2011 at 8:33 PM