Illegal virtual interface dereference

I have 2 clock clk1 and clk2 of different frequency… I created 2 interfaces with one using clk1 and the other clk2. While using interface with clk1 no error is found. But when I used the second interface I get illegal virtual interface dereference. how to tackle it…???

In reply to ganesh shetti:

If this is run time error, then you have a null handle. You’ll need to trace the assignments.

If this is a compiler error, then you have a mismatch in types.

You need to show some more code to help further.

Dave