There is a variable with a null value on the line where the exception happened. Look at the line, find the variable (use println() if need to see which variable is null) and backtrack in the code to...