-
Notifications
You must be signed in to change notification settings - Fork 68
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
ArrayIndexOutOfBoundsException at method featureNameFrom #73
Comments
After merging your PR and pulling from master, I think this issue comes from this line: By the way, there's a branch called |
Yeah sorry, I will use the Here is an example specification which produces the error. class BrokenSpec extends Specification {
@Shared def x = 1/0
@Unroll()
def "broken feature with #x"() {
expect:
x == 1
where:
x << [1, 2, 3]
}
} So, if an initialization error is thrown and you try to use the |
#73 Fixed ArrayIndexOutOfBoundsException
This bug is already fixed, right @tilmanginzel ? Pretty sure I released the fix?! |
Yes, it was fixed on |
I came across the following stacktrace, probably as a result of the fix for #70. I omitted most of it due to its length of 212 rows. The important part seems to be the call of the method
com.athaydes.spockframework.report.internal.HtmlReportCreator.featureNameFrom
I still need to figure out why this occurred and hopefully can come up with a minimal specification producing this.
The text was updated successfully, but these errors were encountered: