cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
0
Helpful
0
Replies

Rest_Client element - LRUCache exception

Raj_Padmanaban
Level 1
Level 1

Hi Team,

 

Getting the below exception while calling Finesse endpoint using Rest_Client element. Your help to find the root cause is greatly appreciated. We had rebooted CVP VXML server, Finesse server, and then this error started happening. We run UpdateApp.bat of the application to fix the issue, and then this exception was not seen. Suspect the same error may happen again in the future.

 

Finesse end point: https://<SLB hostname>/finesse/api/Dialog/<dialogid>. 

Purpose: to update new values into existing call variables. 

Element setting:

element_setting1.png

element_setting2.png

  

 

Exception:

The error was: A built-in element encountered an exception of type java.lang.ClassCastException. The root cause was: java.lang.ClassCastException: com.audium.server.action.rest.client.LRUCache cannot be cast to com.audium.server.action.rest.client.LRUCache
com.audium.server.AudiumException: A built-in element encountered an exception of type java.lang.ClassCastException.
at com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.java:416)
at com.audium.server.controller.Controller.goToAction(Controller.java:4446)
at com.audium.server.controller.Controller.goToElement(Controller.java:4082)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.goToElement(Controller.java:4178)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.goToElement(Controller.java:4178)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.goToElement(Controller.java:4178)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.goToElement(Controller.java:4178)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.goToElement(Controller.java:4178)
at com.audium.server.controller.Controller.continueCall(Controller.java:3762)
at com.audium.server.controller.Controller.doPost(Controller.java:1175)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:412)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1385)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassCastException: com.audium.server.action.rest.client.LRUCache cannot be cast to com.audium.server.action.rest.client.LRUCache
at com.audium.server.action.rest.client.RestClientUtil.getAppLevelRestClientCache(RestClientUtil.java:94)
at com.audium.server.action.rest.client.RestClientUtil.initReusableAPIClient(RestClientUtil.java:89)
at com.audium.server.action.rest.client.RestClientUtil.<init>(RestClientUtil.java:84)
at com.audium.server.action.rest.client.RestClientAction.getRestClientUtilInstance(RestClientAction.java:294)
at com.audium.server.action.rest.client.RestClientAction.doAction(RestClientAction.java:279)
at com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.java:390)
... 37 more

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: