In reply to Andee:
One issue is with your simulator. The packed array range [31:0][31:0] is 1024 bits. Did you mean [3:0][31:0]?
Double check the line number of the error. did you use the correct factory registration? Did you use the correct parameterization when creating your agent?