When clicking calculate everything else shows up

the calculate method isn't working for some reason. total turns null
IMMEDIATELY after its correctly set from what the user input