When I run parseInt:
Integer.parseInt(myString);
it throws:
NumberFormatException: For input string: \"\"
Integer.parseInt(String) doesn't accept non-numeric input, including nulls and empty strings.
Integer.parseInt(String)
Either guard against that like you suggested, or catch the NFE.