You should add a check here to make sure questionList.size() > 0 and handle it appropriately.
I haven't been able to replicate it but I managed to cause an out of bounds error somehow.