UVM_FATAL @ send_request failed to cast sequence item : error in sequence and sequencer

In reply to manasa-n:

Then we have to debug the sequence processing.
Replace req.print with req.sprint and add the diagnostic message as shown below:

 task body();

   simple_seq_item req;
   req = simple_seq_item::type_id::create("req");
   start_item (req);
   `uvm_info(get_type_name(), "called start_item", UVM_MEDIUM)
   assert(req.randomize()) else `uvm_error("SIMPLE SEQ", "Randomization Failed");
   req.sprint;
   finish_item(req);
endfunction