logging null pointer, forgive me for use of abusive language