java.lang.NullPointerException
This simply means that you are trying to access a property of an object that is NULL.
For full details, look
here.[
^]
A simple use of DEBUGGER can tell you which object is null on the line that is throwing the error. Find it and handle it.