User-interaction : null pointer dereference