Look at line 195 and find the variable with the null value. Then backtrack in the code to find why that variable does not have a valid value.

Please edit your post and wrap your code with code...