In reply to warnerrs:
Actually I get the null pointer deref error at
I think you are saying that I have created a handle, up_sequencer, but I haven't constructed an object.
However, when I add ..
up_sequencer = uvm_sequencer::type_id::create("up_sequencer", this); or
up_sequencer = new();
after the line
uvm_sequencer #(B_item) up_sequencer;
I get the error ..
Expecting the keyword 'endclass'