Find IllegalArgumentException in the method called getRandomNumber()