Attempting to use out-of-range shelf item selector.

#6077   Run-time catchable error

Attempting to use out-of-range shelf item selector.

Additional Information

For counter 'X', size is 'Y' and item selector is 'Z'.
    or
For stream 'X', size is 'Y' and item selector is 'Z'.
    or
For switch 'X', size is 'Y' and item selector is 'Z'.

Explanation

A counter, stream, or switch item selector value must be between one and the number of values in the shelf object.