Hi,
In your test case in build_phase, the call to “super.new” should be after the declaration.
ie.
function void build_phase(uvm_phase phase);
super.build_phase(phase);
envn=alu_environment::type_id::create("envn",this);
seqn= alu_sequence::type_id::create("seqn");
//uvm_config_db#(uvm_object_wrapper):: set(this,"envn.agent.sequencer.run_phase", "default_sequence",alu_sequence::type_id::get());
endfunction
You can use “+UVM_OBJECTION_TRACE” on the command line. This will print message about objection.
Hope this will help.