java.lang.numberformatexception for input string android studio code example
Example: java.lang.NumberFormatException: For input string: ""
"N/A" is not an integer. It must throw NumberFormatException if you try to parse it to an integer.
Check before parsing or handle Exception properly.
Exception Handling
try{
int i = Integer.parseInt(input);
} catch(NumberFormatException ex){ // handle your exception
...
}