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

$finish at simulation time 0
V C S S i m u l a t i o n R e p o r t
Time: 0 ns
CPU Time: 0.830 seconds; Data structure size: 0.5Mb
Thu Jun 13 13:21:50 2019
CPU time: 10.461 seconds to compile + .536 seconds to elab + .752 seconds to link + .888 seconds in simulation

Do you have idea how I can solve it ?