Attempted getText() error catch