Error-[ICTTFC] Incompatible complex type usage

In reply to muthuven:

The error message tells you that you are trying to downcast the handle without using $cast.
See Why downcasting is not allowed in SystemVerilog? | Verification Academy