In reply to flo_gwt:
The example downloaded from the link you gave works for me (Using UVM 1.2).
But there are difference from where you reported the error and the code on the reported line.
File: sequences/spi_bus_seq_lib_pkg.sv Line: 151 has
repeat(10) begin
But the line you reported from class SPI_config_rand_order_seq is from File: spi_bus_sequence_lib_pkg.sv Line: 363