Null check of lifecycle task.