logs to find null pointer