Yout btnCalculate is null, you should initialize before doing the onclickListener:
Also note that you are initializing the dataAdapter2 but actually you are using dataAdapert, and list2 dont have any elements, because you declare it but u are filling always list1