When I press a buton and the EditTexts are empty it crashes

I am making a simple calculator as my first made by me app and I have two

EditTexts

and if I press any of the 4 calculation buttons the app crashes, I have set a toast message to display if EditText1 & EditText2 are empty and if not do calculation according to button pressed...how can I prevent it from crashing?
Here's my