Fixed null pointer when logging the operating fields.