Send_request failed to cast sequence item

In reply to chr_sue:

i run the program and i find the step of get_next_item()failed, so the driver dont get to the step of put response to the sequence.