When collecting user processes the Agent spawns ps command and gathers results. Under some circumstances the OS ps command may not provide correct results. Sometimes it returns user id instead of user name.
User id is a numeric value. Add a check to see if the ps returned a numeric value and if so throw away the results.