The full text of the error message gives the line number where the exception occurred. Look at that line and find the variable that has a null value. Then backtrack in your code to find out why that...