Did you try?
And yes you are right.
Simply write
Integer.parseInt(strLine);
Type: Posts; User: Mr.777
Did you try?
And yes you are right.
Simply write
Integer.parseInt(strLine);
So, now you came to the exact point. That was actually your problem. Now if you asked exactly this in your very first post, you will get the very specific answer.
Well, start reading the file and...
Doesn't this error clearly mean that you are passing an empty string?
Well, it's the coding part where you actually catching the exception. What i asked was, when you run the program, is there any exception on the console?
Are there any exceptions showing when you run it? If yes, paste here the full exceptions messages.