From: c00149107 Date: Wed, 22 Nov 2017 01:16:53 +0000 (+0800) Subject: Fix Json Analyze failed Issue X-Git-Tag: v1.2.0~12 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=264228ce4fec3204502f0e8f3b906ad12e192825;p=so.git Fix Json Analyze failed Issue Fix Json Analyze failed Issue Issue-ID: SO-348 Change-Id: Ibfea7d2cfa5e62e4d8e251a17908d4f7bc8de154 Signed-off-by: c00149107 --- diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java index d0de819e03..640dc697a2 100644 --- a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java +++ b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java @@ -928,7 +928,7 @@ public class JsonUtils { JSONObject obj = new JSONObject(stringListJson); JSONArray arr = obj.getJSONArray("strings"); for (int i = 0; i < arr.length(); i++){ - String s = arr.getString(i); + String s = arr.get(i).toString(); list.add(s); } msoLogger.debug("Outgoing List is: " + list);