Does Toast cause an application crash at any time?

when I just press the registration button without entering data into the application
all toasts work, but once I enter data and press the registration button, the application closes without printing toast?

Protected void onCreate (Bundle savedInstanceState) {
super.onCreate (savedInstanceState);
setContentView (R.layout.activity_main2);
signupnow = (Button) findViewById (R.id.button3);

signupnow.setOnClickListener (new View.OnClickListener () {
@Override
empty public onClick (View v) {

Toast.makeText (Main2Activity.this, "passed test1", Toast.LENGTH_LONG) .show ();
nametext = (EditText) findViewById (R.id.editText4);
emailtext = (EditText) findViewById (R.id.editText);
passtext = (EditText) findViewById (R.id.editText2);
// no, we have check in the email if its cottect or not
Toast.makeText (Main2Activity.this, "passed the text getters test", Toast.LENGTH_LONG) .show ();

db = new DatabaseHelper1 (getApplicationContext ());

sessiondb = new logindatabase (getApplicationContext ());
Toast.makeText (Main2Activity.this, "successful test3 database connections", Toast.LENGTH_LONG) .show ();


Email string = emailtext.getText (). ToString ();
String name = nametext.getText (). ToString ();
String pass = passtext.getText (). ToString ();
Toast.makeText (Main2Activity.this, Email + "-" + pass + "---" + name,
Toast.LENGTH_LONG) .show ();
Boolean Emailstat = false;

if (Email! = null && name! = null && pass! = null) {

Toast.makeText (Main2Activity.this, "passed test4 verification emails", Toast.LENGTH_LONG) .show ();

if (Email.contains ("@ yahoo.com") || Email.contains ("@ gmail.com") || Email.contains ("@ hotmail.com")) {
Emailstat = true;
}




if (Emailstat == true)
{

int emailsignupstat = db.CheckSiqnupEmail (Email);

if (emailsignupstat == 0)
{

db.addData (Email, pass, name);
// login database to add a user as logged in

sessiondb.addData (Email, pass);

Intention gotoprofile = new Intent (getApplicationContext (), Main3Activity.class);

startActivity (gotoprofile);


}
other
{
Toast.makeText (Main2Activity.this, "Email is used
Before ", Toast.LENGTH_LONG) .show ();
emailtext.setText ("");
passtext.setText ("");
nametext.setText ("");


}





}
other
{
Toast.makeText (Main2Activity.this, "Invalid Email Address", Toast.LENGTH_LONG) .show ();
emailtext.setText ("");
passtext.setText ("");
nametext.setText ("");

}


}
}

});

}

}