"Json - Execute Multiple Queries Using JSONPath" action is always failed after upgraded Release Automation

Document ID : KB000004927
Last Modified Date : 14/02/2018
Show Technical Document Details

Run "Json - Execute Multiple Queries Using JSONPath" action, and then following error was occurred.

Error occurred during action execution: com.jayway.jsonpath.JsonPath.parse(Ljava/lang/String;)Lcom/jayway/jsonpath/DocumentContext;

However, action properties are correct settings.

Using action packs generated by Rapid Development Kit (RDK).This problem was reported:- Release Automation 6.2 with RDK 1.0.5

RDK has old libraries related to JSON parser. RDK 1.0.6 is also same condition.



Here is workaround steps:

  1. Copy following files on RA Management Server.
     <RA Server>/actionlib/json-path-2.0.0.jar
     <RA Server>/actionlib/json-smart-2.1.1.jar
  2. Paste 2 files to following directory on RDK machine.
  3. Move following files to external RDK directory for backup.
  4. Export action packs using RDK.
    If the action pack has same version, it will replace old definition on next step.
  5. Import action packs using Automation Studio.
Additional Information:

You may need post steps after upgrade RA. Following URL explains how to upgrade RDK.