Find the statement with the error and then find the variable with the null value. Backtrack in the code to see why that variable does not have a valid non-null value.

The stack trace for your...