UVM configuration NULL pointer dereference Problem

In reply to UVM_LOVE:

You should write in the build_phase of your test:
m_cfg=apb_master_config::type_id::create(“m_cfg”,this);
uvm_config_db #(apb_master_config)::get(this, “”, “apb_master_intf”, m_cfg.apb_if);