A possible fix is to call this.origin.setText("") when the value is null. I'm not sure if it would have side effects though.