We exported a WF from a 4.1 to a 5.1 server. When running it on the 5.1 VCO server, the WF reports an error after trying to move an item into a configuration element, however it actually does complete the move. I've listed the key value (VM:) and array values (vmArray) below, and the line of code that moves the items into the element. Not sure what would be throwing the error?
code:
vmRequestCompletedConfigurationElement.setAttributeWithKey(vmName, vmArray);
error:
2013-07-03 10:59:13.048-0400 INFO [SCRIPTING_LOG] [Stub VM via Powershell (7/3/13 10:53:03)] ********** DEBUG values - VM: testrhel_2vcpu_1nic vmArray: testrhel_2vcpu_1nic,NP DC1,alpha (a),Microsoft Windows Server 2008 R2 (64-bit)
2013-07-03 10:59:13.105-0400 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.configuration.ConfigurationElement@6ca6a540 Registered : null
2013-07-03 10:59:13.105-0400 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2013-07-03 10:59:13.105-0400 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.configuration.ConfigurationElement@30ab447a Registered : null
2013-07-03 10:59:13.106-0400 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2013-07-03 10:59:13.105-0400 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.configuration.ConfigurationElement@27e365da Registered : null
2013-07-03 10:59:13.106-0400 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2013-07-03 10:59:13.105-0400 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.configuration.ConfigurationElement@3c1cbe8c Registered : null
2013-07-03 10:59:13.106-0400 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2013-07-03 10:59:13.109-0400 DEBUG [ServerObject] --Generating Event in Database !
2013-07-03 10:59:13.115-0400 INFO [SCRIPTING_LOG] [Stub VM via Powershell (7/3/13 10:53:03)] ********** DEBUG End Running 'Move to completed' workflow *********************
2013-07-03 10:59:13.116-0400 DEBUG [WorkflowHandler] setAttributeToCache vmArray
2013-07-03 10:59:13.116-0400 DEBUG [WorkflowScriptRunner] Execute exception
ch.dunes.model.type.ConvertorException: Not an Array