In reply to designMaster:
Two things:
(1) you are extending your transaction class from uvm_object. You have to do this from uvm_sequence_item.
(2) In your transaction class the constructor is missing.
See it working here:
BTW don’t use the field macros. This is not recommended.