java.lang.NumberFormatException: For input string

Integer.parseInt throws a NumberFormatException if the passed string is not a valid representation of an integer. here you are trying to pass 2463025552 which is out of integer range.

use long instead

long phone = Long.parseLong(s2[1].trim() )

Leave a Comment