The VENDORID argument passed to the getVendor function is not of type numeric. If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible. The error occurred on line 22.