BAD HANDLE OR REFERENCE ERROR IN CONNECT PHASE OF DRIVER

Hi,

I am getting bad handle or reference error in connect phase of driver while connecting virtual interface handle to agent config class virtual interface handle.
vif = wr_cfg.vif

Thanks

In reply to sujay_rm:
This is the typical message you get when the virtual interface could not be retrieved from the config_db.
Check you have a set from the toplevel module and if you are using the same name (3rd argument).

check SE/GET of virtual interface,
most probably parameterised class or field name may be diffrent.