.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
It seems that the text field was not assigned before trying to access it, please refer to the relevant documentation for accessing and assigning text fields and their values. More debugging is needed to sufficiently answer anything else.