Handled NPE on empty text field "points" attribute