The object at dereference depth 1 is being used before it was constructed/allocated. Please make sure that the object is allocated before using it

seq_item_port.get_next_item(tx);
@(posedge dut_ifc1.clk)
begin
dut_ifc1.a <= tx.a;
dut_ifc1.b <= tx.b;
dut_ifc1.opcode <= tx.opcode;
end