Uvm sequence item - set_type_override()

In reply to dmahendran:

You declared a variable
factory
, but you never initialized it with a handle to the global factory. But there’s no need to do this as uvm_component already has this method. So call
set_type_override_by_type()
directly.