In reply to Srinadh:
Are you sure config_h.vif is not null inside the agent’s build phase when making the assigment?