It would be helpful if you can post more of your code. It is very difficult to isolate an issue from a single line of code.
One question I have is why do you have a scope with XactionSbCfg? The `uvm_object_utils() should be used within the class definition, so there should be no need for a scope.
DataPath is a package where XactionSbCfg is included like `include “XactionSbCfg.svh”
scope is not a problem.i removed it and checked, still same problem.
Ok. One problem trying to isolate code errors inside macros is that they are very hard to debug. Our recommendation is to not use the `uvm_field_* macros at all to reduce code bloat and performance issues.
Can you try just `uvm_object_utils(XactionSbCfg) by itself? This will help isolate the issue some more.