Null Pointer Exception
This means that you are trying to use an object reference in your code that has not been initialised. But since you have not shown the relevant code it is impossible to guess where or why this occurred.
Please use the
Improve question link above, and add complete details to your post.