We are running into an issue where we have a batch of 10-15 workflows being kicked off at the same time, and about 2-3 of the 10-15 workflows are failing due to random objects being reset to null. One of the potential fixes I have found is to set the useInventory flag to false in the vmo.properties file, but we had already implemented this fix for a previous issue. We are currently running on VCO 5.5.1 and vCenter 5.5.0.
Below is one example of the error due when trying to delete a port group. We have also seen this error when searching for a datastore and trying to power off a VM. Any ideas on what else could be causing this issue with various objects being reset to null?
2015-05-27 10:31:57 [WorkflowExecutorPool-Thread-17400] WARN [VimSession] invokeWebServiceOperation() [XXXX@https://XXXX.local:443/sdk/Main#194306a8 useIS: false].retrievePropertiesEx --> managed object not found: XXXX.local/propertyCollector
2015-05-27 10:31:57 [WorkflowExecutorPool-Thread-17400] INFO [SCRIPTING_LOG] TypeError: Cannot read property "name" from null (Workflow:Delete Instance / Remove DV Portgroup (item12)#1)
2015-05-27 10:31:57 [WorkflowExecutorPool-Thread-17400] DEBUG [WorkflowScriptRunner] Execute exception
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "name" from null (Workflow:Delete Instance / Remove DV Portgroup (item12)#1
Thanks in advance,
Dan