Non ho ammazzato niente. Una volta sostituito il NumberFormatException, ho stampato lo stackTrace e ho risolto il bug. Grazie comunque.