Skip to content
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

Cant use scenario parameters ${scenario:parameter} thrown an exception: "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" #323

Open
RomanGlaz opened this issue Feb 26, 2018 · 5 comments

Comments

@RomanGlaz
Copy link

Cant use scenario parameters ${scenario:parameter} thrown an exception: "java.lang.StringIndexOutOfBoundsException: String index out of range: -1"

version 6.1.09
Java 1.8.0_161
Win10x64

after setting scenario parameter ${scenario:parameter} for any bb or test after trying to save the scenario or just execute a test : thrown exception: "java.lang.StringIndexOutOfBoundsException: String index out of range: -1"

@itaiag itaiag added the bug label May 3, 2018
@itaiag itaiag self-assigned this May 3, 2018
@itaiag
Copy link
Contributor

itaiag commented May 3, 2018

It seems that you tried to set the scenario parameter for a root scenario. Is this is the case?

@RomanGlaz
Copy link
Author

no , i set the parameter of the first BB

@itaiag
Copy link
Contributor

itaiag commented May 3, 2018

I will try to rephrase the question. The building in which you used for the scenario parameter, was it in the root scenario or was it part of a sub scenario?
Say you have scenario s0 which includes scenario s1, is bb b0 which has the parameter that is set as scenario parameters is part of s0 or s1?
In case the answer is s0, can you check if the problem is reproduced in your environment when it is part of s1?

@RomanGlaz
Copy link
Author

RomanGlaz commented May 3, 2018

The building in which Iused for the scenario parameter, was it in the root scenario

@itaiag
Copy link
Contributor

itaiag commented Aug 9, 2018

Duplicated with issue #331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants