Runtime Fatal Error : p_sequencer can't be casting from a parameterized sequencer

In reply to pavan85v:

The answer as I posted above is to not use p_sequencer and to use a parameterized uvm_sequencer in your agent.

If you need the handle to the sequencer your sequence is running on, use m_sequencer.