top of page

Rest Plugin exceptions after upgrading to vRealize Automation 8.4.1


After upgrading to vRealize Automation 8.4.1 you might encounter rest host exceptions




2021-06-11T03:17:53.826Z ERROR vco [host='vco-app-b995d8bc6-dc6kh' thread='AsyncActionExecutorPool-Thread-21' user='' org='' trace=''] {} com.vmware.o11n.plugin.rest.Request - Cannot execute the request. 
java.lang.NullPointerException: null 
        at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) ~[?:?] 
        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) ~[?:?] 
        at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:62) ~[httpclient-4.5.13.jar:4.5.13] 
        at com.vmware.o11n.plugin.rest.HttpContextFactory.create(HttpContextFactory.java:27) ~[o11nplugin-rest-model-2.4.0.jar:?] 
        at com.vmware.o11n.plugin.rest.RequestExecutor.execute(RequestExecutor.java:236) ~[o11nplugin-rest-model-2.4.0.jar:?] 
        at com.vmware.o11n.plugin.rest.Request.doExecute(Request.java:419) [o11nplugin-rest-model-2.4.0.jar:?] 
        at com.vmware.o11n.plugin.rest.Request.execute(Request.java:138) [o11nplugin-rest-model-2.4.0.jar:?] 
        at jdk.internal.reflect.GeneratedMethodAccessor462.invoke(Unknown Source) ~[?:?] 
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] 
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] 
        at ch.dunes.vso.sdk.WrappedJavaMethod.invoke(WrappedJavaMethod.java:233) [o11n-sdkcenter-8.4.1.jar:?] 
        at ch.dunes.vso.sdk.WrappedJavaMethod.call(WrappedJavaMethod.java:175) [o11n-sdkcenter-8.4.1.jar:?] 
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473) [rhino-1.7R4.jar:1.7R4] 
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) [rhino-1.7R4.jar:1.7R4] 
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) [rhino-1.7R4.jar:1.7R4] 
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) [rhino-1.7R4.jar:1.7R4] 
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) [rhino-1.7R4.jar:1.7R4] 
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120) [rhino-1.7R4.jar:1.7R4] 
        at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(MainScriptingObject.java:275) [o11n-scriptingengine-8.4.1.jar:?] 
        at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(MainScriptingObject.java:261) [o11n-scriptingengine-8.4.1.jar:?] 
        at ch.dunes.scripting.handler.mbean.ScriptUnit.executeScript(ScriptUnit.java:81) [o11n-scriptingengine-8.4.1.jar:?] 
        at ch.dunes.scripting.handler.mbean.ScriptUnitContext.executeSynchronousUnit(ScriptUnitContext.java:100) [o11n-scriptingengine-8.4.1.jar:?] 
        at ch.dunes.scripting.handler.mbean.ScriptLauncherImpl.executeFunction(ScriptLauncherImpl.java:86) [o11n-scriptingengine-8.4.1.jar:?] 
        at ch.dunes.scripting.server.util.ServerActionInvoker.executeServerAction(ServerActionInvoker.java:115) [o11n-scriptingengine-8.4.1.jar:?] 
        at com.vmware.o11n.service.impl.ScriptModuleRuntimeServiceImpl.executeServerAction(ScriptModuleRuntimeServiceImpl.java:88) [o11n-services-server-8.4.1.jar:?] 
        at com.vmware.o11n.service.impl.ScriptModuleRuntimeServiceImpl.executeServerActionPriviliged(ScriptModuleRuntimeServiceImpl.java:201) [o11n-services-server-8.4.1.jar:?] 
        at com.vmware.o11n.service.impl.ScriptModuleRuntimeServiceImpl$1.delegatedCall(ScriptModuleRuntimeServiceImpl.java:145) [o11n-services-server-8.4.1.jar:?] 
        at ch.dunes.scripting.server.script.AsyncAction.call(AsyncAction.java:27) [o11n-scriptingengine-8.4.1.jar:?] 
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] 
        at java.lang.Thread.run(Thread.java:829) [?:?] 


This is a bug which has been fixed in the latest version of HTTP REST plugin.


Out of the box version of HTTP REST plugin in vRealize Automation 8.4.1 is


2.4.0.17862790

Fix is available under

2.4.0-18124475

Download the plugin by clicking here



Implementation Steps

  1. Take snapshot of vRA appliance

  2. Go to Controlcenter and then take a backup of existing plugin


3. Upload the new plugin

4. Install the plugin

5. Validate the build


Post this test your workflows and they should work as expected.




378 views0 comments
bottom of page