Is RingSizes.ringSizeList an array of Strings ? does index 6 ringIndex exist ?
similar to your older topic ? why not use the pattern from this older snippet ?