Similar to this Issue. Exception being thrown is IndexOutOfBoundsException, not ArrayIndexOutOfBoundsException. So the solution would be to catch parent exception.
Made PR
Any updates?