Logs to identify Null pointer exeception