The executive director of the Society of Professional Journalists said “violence of any kind against journalists has no place in American life.”