Log and crash if reflection fails