The getParam calls were surrounded by ROS_ASSERT (not shown in the simplified example) so they were never called. Closing.