If I had to guess without seeing the whole code, it would be that
the program is expecting some String that it can convert into a
number, and it can't convert an empty string. Maybe you are trying
to use a value from a TextField and the TextField was blank.
Did you put the code around line 48 in a try-catch block?
That's all I could say since you didn't include your source code.