How can I prevent java.lang.NumberFormatException: For input string: “N/A”? Tags: intjavanumberformatexceptionstring