Your loop is poorly defined.
You are checking to see if there is a next int instead of a next token, and consuming lines you don't intend to.
Try this as a loop instead:
while (inFile.hasNext()) {
names[count] = inFile.next();
balance[count] = inFile.nextInt();
count++;
}