Random string generator creates java.lang.StringIndexOutOfBoundsException.

The generic action "Generate Random String" creates java.lang.StringIndexOutOfBoundsException if a ${ is in the generated string.

Example:

INFO:         generateRandomString():  Char Set: all ascii,  Format: NONE,  Seed: 0, Upper: true, Lower: true, Numbers: false, Special: true, Set variable 'Template-Field-Of-Activities'
INFO:         Value: JlXKc^qZFoFkdV(BeP^|A-@ELxBy_}DXdItPA^Z${|HzbSh\ag
INFO:         java.lang.StringIndexOutOfBoundsException: begin 41, end -1, length 50


Is there a workaround (without using the custom Format) or a bugfix?

Tags:

Labels:

Validator