Caused by: java.lang.NumberFormatException: Invalid int: ""

Java
final  String height = e1.getText().toString();
final int a = Integer.parseInt(height);
Source

Also in Java: