In reply to cgales:
As karandeepsingh has answered this question. I think that is the reason for this error .
I have doubts because I have taken handles of sequencers in sequence but they are not connected to actual sequencers that’s why NULL OBJECT ACCESS problem would have arised .
I have tried his suggestion but I am getting the error as I have posted below .
Another Doubt that I have in my mind is that Sequence is an object and sequencers are components so can we take sequencers’ handle in sequence ?