Either caller handed the wrong argument or the Vlan Interface does not exist in the dadtabase.
This implies memory corruption or a problem in VLAN library. Increase the log severity to highest for HAL and VLAN to collect more data.
Debug-Data
Vlan Interface is NULL.