VMware Cloud Community
YestoVI
VMware Employee
VMware Employee

Seeing this error. Could someone point me in the right direction? Using Guest script manager.

item: 'Run script in VM guest/item13', state: 'failed', business state: 'null', exception: 'Exception binding empty'

<edited>

--workflow: 'Run script in VM guest' (24c23d4c-12be-4889-aa66-29b8a450f1cd)

  |  'attribute': name=vcoPath type=string value=

  |  'attribute': name=overwrite type=boolean value=true

  |  'attribute': name=guestFilePath type=string value=

  |  'attribute': name=result type=boolean value=false

  |  'attribute': name=scriptType type=string value=powershell

  |  'attribute': name=guestOperationsReady type=boolean value=true

  |  'attribute': name=errorCode type=string value=

  |  'attribute': name=scriptFileName type=string value=

  |  'attribute': name=scriptFileNameExtension type=string value=

  |  'attribute': name=guestDirectoryPath type=string value=

  |  'attribute': name=scriptFileNamePrefix type=string value=

  |  'attribute': name=scriptOutputText type=string value=null

  |  'attribute': name=scriptExitCode type=number value=null

0 Kudos
1 Reply
iiliev
VMware Employee
VMware Employee

This is an interesting problem. It could happen when a workflow's error end element has an exception binding name equal to some workflow attribute name, and that workflow attribute doesn't have a value.

Could you try the following steps and try to run the workflow again to check if the 'exception binding empty' error is resolved? Note that you may receive another error.

  • Navigate to workflow 'Run script in VM guest' in vRO client workflow tree, and open it for edit (Ctrl+E, or right click > Edit)
  • Locate the element labeled 'Run Script In Guest' and open it for edit (single click to select it and Ctrl+E, or right click > Edit)
  • In the item properties dialog, select the third tab labeled Exception
  • There should be a text like 'Output exception binding - Not set'
  • Click on Not set link
  • In the opened dialog, locate the row with name scriptOutputText.
  • Click on the row and then click Select button
  • Click Close button, and then click Save and close button
0 Kudos