FB 5923
* added exception catcher for where the exception happens.
* added null tests in toVlan()