In reply to zz8318:
It’s hard to use something if it is generating errors. There is never a need to use p_sequencer, and I consider the ‘legacy’ excuse to be very poor.
However, after getting off my soap box, you should never see a null p_sequencer handle if everything occurs in the correct phases. All of the build_phase() should be complete prior to any run_phase() execution. I’m assuming that you are calling send() in the run_phase()?
You should also make sure to use:
m_trans = my_trans::type_id::create("m_trans");
instead of calling new(). This will ensure that p_sequencer is assigned correctly.