App crashes


#1

Need help. My code crashes everytime I enter the data. My code is suppose to say that you have this disease once the value is more than 6.5.

Whats wrong with my code? Thanks in advance

public class MainActivity extends AppCompatActivity {

    EditText HbA1c;
    TextView result;
    Button button;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        HbA1c = (EditText) findViewById(R.id.HbA1c);
        button = (Button) findViewById(R.id.button);
        result = (TextView) findViewById(R.id.result);
    }

    public void onButtonClick() {
        onButtonClick();

        double num = Double.parseDouble(HbA1c.getText().toString());


        if (num == 6.5 && num > 6.5) {

            result.setText("You may have DM");


        } else
            result.setText("You may not have DM");

    }

}

#2

public void onButtonClick() { onButtonClick();

two?