A NullPointerException
gets thrown when you access a null
pointer. You should investigate the stacktrace
which indicates the line where the exception happened.
For more info about the exception have a look at the docs: http://developer.android.com/reference/java/lang/NullPointerException.html