error messages added for select-rows and select-columns

More comprehensive than `java.lang.IndexOutOfBoundsException: null` :)