Error upon running Workflow "[Send notification (TLSv1.2) (MM/DD/YY HH:MIN:SEC)] Unable to create object : Email Message : null" post upgrading VCF Operations orchestrator from version 9.0.2 to version 9.1.0
Below error snippet will be seen in vco-server-app_scripting.log.
YYYY-MM-DDTHH:MIN:SEC.###Z DEBUG vco [host='vco-app-#######-hmtns' thread='WorkflowExecutorPool-Thread-##' user='[email protected]' org='-' trace='88ef9##6-7##f-9##6-#b#9-3######d'] {|__SYSTEM|[email protected]:2####9-3##4-5##d-7##9-d#####b:context=88ef9##6-7##f-9##6-#b#9-3######d:itemId=1#####3-d##6-4##d-8##7-4#######9} SCRIPTING_LOG - __item_stack:/item0
YYYY-MM-DDTHH:MIN:SEC.###Z ERROR vco [host='vco-app-#######-hmtns' thread='WorkflowExecutorPool-Thread-##' user='[email protected]' org='-' trace='88ef9##6-7##f-9##6-#b#9-3######d'] {|__SYSTEM|[email protected]:2####9-3##4-5##d-7##9-d#####b:context=88ef9##6-7##f-9##6-#b#9-3######d:itemId=1#####3-d##6-4##d-8##7-4#######9} SCRIPTING_LOG - [Send notification (TLSv1.2) (MM/DD/YY HH:MIN:SEC)] Unable to create object : EmailMessage : null
YYYY-MM-DDTHH:MIN:SEC.###Z ERROR vco [host='vco-app-#######-hmtns' thread='WorkflowExecutorPool-Thread-##' user='[email protected]' org='-' trace='88ef9##6-7##f-9##6-#b#9-3######d'] {|__SYSTEM|[email protected]:2####9-3##4-5##d-7##9-d#####b:context=88ef9##6-7##f-9##6-#b#9-3######d} SCRIPTING_LOG - Workflow execution stack:
***
item: 'Send notification (TLSv1.2)/item0', state: 'failed', business state: 'null', exception: 'Unable to create object : EmailMessage : null'
workflow: 'Send notification (TLSv1.2)' (2#####d-8##9-5##e-b##9-6#######9)
| 'input': name=smtpHost type=string value=
| 'input': name=smtpPort type=number value=
| 'input': name=username type=string value=
| 'input': name=password type=SecureString value=__NULL__
| 'input': name=fromName type=string value=
| 'input': name=fromAddress type=string value=
| 'input': name=toAddress type=string [email protected]
| 'input': name=subject type=string value=Test1
| 'input': name=content type=string value=Test2
| 'input': name=useStartTls type=boolean value=false
| 'no outputs'
| 'no attributes'
*** End of execution stack.
VCF Operations 9.1
VCF Automation 9.1
The root cause is missing classes in plugin classloader causing some of the plugin operations to end up failing.
This issue is a known platform bug that is resolved natively out-of-the-box starting 9.1.0 EP2 and 9.1.1 product releases. To fix the issue in version 9.1 & 9.1 EP1, install the mail plugin attached to this kb article.
Download the corrected Mail plugin file (.dar) attached to the bottom of this KB article.
NOTE: If you are running 9.1.0 GA or 9.1.0 EP1, you must upgrade the mail plugin manually. If you update the plugin on a 9.1.0 GA deployment, the plugin version will safely persist the upgrade to version 9.1.0 EP1 as upgrade will preserve the plugin as it is with higher version than the out-of-the-box plugin.