It seems like the issue with your timer lies in the loop where you're attempting to parse the text from the text fields into integers. Here are a few things to consider:

1. Array Bounds: Your loop...