To parse an string to a number you must have valid number into the string.
Here your S is not a number.
String s = "s"; System.out.println((char) Integer.parseInt(s));
It should be something like this:
String s = "100";//or whatever integer you want to parse.
System.out.println((char) Integer.parseInt(s));