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

Does anyone have an answer for the above issue?
Even I faced the same issue with my code.

/Pavan