Java error on "Execute JavaScript code" action post upgrade to RA 6.5
search cancel

Java error on "Execute JavaScript code" action post upgrade to RA 6.5


Article ID: 7991


Updated On:


CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)


Upgrade of system from 5.5.2 -> 6.1 -> 6.5 resulting in failure of action "Execute Javascript code" with the following error:

2017-08-25 14:14:58,903 [job-9830408-jobServer-9830408-6:Copy of JS - recuperer la version de Build dans le RM(P16375927.F16375931.E16375932):Execute JavaScript code] ERROR (com.nolio.platform.shared.datamodel.Action:119) - Unexpected failure:java.lang.RuntimeException: java.lang.NoSuchMethodException: None of the fixed arity signatures [(java.lang.Class, int), (java.lang.Class, int[])] or the variable arity signatures [(java.lang.Class, int...)
] of the method java.lang.reflect.Array.newInstance match the argument types [jdk.internal.dynalink.beans.StaticClass, java.lang.Integer]
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(


Release Automation 6.5


During analysis it was found that one of the action packs post upgrade on NAC actionslib folder was still on version 6.1. In this example - nolio-actions-6.1.0.jar which is has the action "Execute Javascript code".

As there is a definition change in this jar, it is not able to match the signature resulting in the error during execution.

<Please see attached file for image>

User-added image


Note: No nolio-*.jar should be of version 6.1 on once the system is upgraded to 6.5.

Please follow the steps below to resolve the issue:

  1. Create a back up of all nolio-*-6.1.0.jar files in actionslib directory on the Management Server (outside the RA install directory)
  2. Check for appropriate nolio-*-6.5.0.jars on the Management Server and copy the respective jar to the client machine used to access Release Operation Center (ROC). Ex:  webapps/datamanagement/WEB-INF/lib/nolio-actions-6.5.0.jar
  3. Login to ROC and navigate to Administration -> Action Management -> Installed Packs and try to upload the nolio-actions-6.5.0.jar manually by clicking import from the path where jar file was copied in step 2


1558698872597000007991_sktwi1f5rjvs16jir.png get_app