A deployed application must assign a value to all of its output arguments. It appears that the indicated argument does not always have a value assigned to it.
Change the code to assign a value to this variable.