AE - Web Service Response Expression Tester error cannot be cast java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String

book

Article ID: 111008

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

While testing "Response Expression Tester" for one REST Web Service job but it is giving the below error:
------------------------------------------------------------------------------------------
Error: there was a problem with parsing...
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
------------------------------------------------------------------------------------------

Environment

WebService Rest 4.4.0

Resolution

This issue is a bug.
- Permanent fix: in the next release RA.Web.Service.REST 4.4.2 - Available
- Workaround for this issue: Deactivate the "Use Array" under response. Set it at false.