Null instance encountered when dereferencing

I encountered an error
Null instance encountered when dereferencing ‘this.agnt[0x7fefeaf1fee8]’

the line which triggered this is -
agnt[i].driver.tfm_port.connect(sb4_h2d[i].tx_frame_ext);

can somebody explain this

In reply to vdb_sie:

Is agnt[i] null?
Is agnt[i].driver null?
Is agnt[i].driver.tfm_port null?
Is sb4_h2d[i] null?
Is sb4_h2d[i].tx_frame_ext null?