java.lang.NumberFormatException: For input string: "null"
·
에러일기
NumberFormatException이 발생한 원인은 문자열 "null"을 정수로 변환하려고 했기 때문이다.Integer.parseInt 메서드 호출 시 발생했다.Integer.parseInt를 호출하기 전에 입력 문자열이 null인지, 숫자로 변환 가능한지 확인하는 검증 로직을 추가해서 해결했다.