AWI Searches stopped working after upgrading AWI: The request is invalid

book

Article ID: 197158

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When:

  • the Automation Engine (AE) component is on v12.3.2.hf2
  • Automic Web Interface (AWI) is on v12.3.3
  • Tomcat is upgraded (not necessary)

the search stops working.

The following error is returned:


java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.uc4.ecc.backends.exceptions.AutomationEngineAPIException: [HTTP 400] (45106) The request is invalid and cannot be processed by the Automation Engine.: No detail information available.
 at com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:112)
...
Caused by: java.util.concurrent.ExecutionException: com.uc4.ecc.backends.exceptions.AutomationEngineAPIException: [HTTP 400] (45106) The request is invalid and cannot be processed by the Automation Engine.: No detail information available.
 at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
 at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
 at com.uc4.ecc.framework.entrypoint.core.dialogs.search.GlobalSearchResultGroupPresenter$1.load(GlobalSearchResultGroupPresenter.java:98)
 ... 9 more
Caused by: com.uc4.ecc.backends.exceptions.AutomationEngineAPIException: [HTTP 400] (45106) The request is invalid and cannot be processed by the Automation Engine.: No detail information available.
 at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:74)
 at com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source)
 at com.uc4.ecc.backends.impl.dataservice.search.GlobalSearchService.sendSearchRequest(GlobalSearchService.java:36)
 at com.uc4.ecc.backends.impl.dataservice.search.GlobalSearchService.search(GlobalSearchService.java:47)
 at com.uc4.ecc.plugins.ae.perspectives.processassembly.search.ProcessAssemblySearchProvider$1.call(ProcessAssemblySearchProvider.java:79)
 at com.uc4.ecc.plugins.ae.perspectives.processassembly.search.ProcessAssemblySearchProvider$1.call(ProcessAssemblySearchProvider.java:74)
 ... 5 more
Caused by: com.uc4.api.rest.exceptions.BadRequestException: [HTTP 400] (45106) The request is invalid and cannot be processed by the Automation Engine.: No detail information available.
 at com.uc4.api.rest.common.requests.RestJsonRequest.handleDefaultErrors(RestJsonRequest.java:82)
 at com.uc4.api.rest.common.requests.RestJsonRequest.handleErrorResponse(RestJsonRequest.java:67)
 at com.uc4.api.rest.common.requests.RestRequest.handleResponse(RestRequest.java:60)
 at com.uc4.api.rest.connection.RestConnection.sendRestRequestAndWait(RestConnection.java:128)
 at com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRestRequestAndWait(RestConnectionService.java:65)
 at com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRequestWithAuthAndWait(RestConnectionService.java:51)
 at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72)
 ... 10 more

Cause

AWI and AE needs to be on the same version

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Sub-Component: Automic Web Interface

Resolution

Downgrade AWI t the same version as AE to resolve the issue

Note: the AE and AWI components must be on the same service pack at all times.