Question

13
Views
Prasanna B (PrasannaB9638)
Ford Motor Company

Ford Motor Company
IN
PrasannaB9638 Member since 2019 2 posts
Ford Motor Company
Posted: April 8, 2021
Last activity: April 8, 2021
Posted: 8 Apr 2021 8:34 EDT
Last activity: 8 Apr 2021 13:31 EDT

Load Data from xml is failing

Hi Guys,

we have functionality to read data from xml file and display in a list view. Off late this is not working in Dev environment whereas it is working like a charm in QA and Prod. I did Code comparison from the Dev and QA and nothing seems to be missing. I am seeing below stack trace in the Pegarules log file.

Does anybody faced this issue before and resolved it ?

 

Hi Guys,

we have functionality to read data from xml file and display in a list view. Off late this is not working in Dev environment whereas it is working like a charm in QA and Prod. I did Code comparison from the Dev and QA and nothing seems to be missing. I am seeing below stack trace in the Pegarules log file.

Does anybody faced this issue before and resolved it ?

 

2021-04-07 05:48:14,001 [      TP_http : 2171] [TABTHREAD0] [                    ] [rdXXXX:01.02.03] (      internal.mgmt.Executable) ERROR www.XXX.XXX.com|19.14.111.141 XXX - Exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1     at java.lang.String.substring(String.java:2695) ~[?:2.9 (07-29-2020)]     at com.pegarules.generated.activity.ra_action_readexcel_17335edef796f1099f9c7f20aafb77a3.step2_circum0(ra_action_readexcel_17335edef796f1099f9c7f20aafb77a3.java:343) ~[?:?]     at com.pegarules.generated.activity.ra_action_readexcel_17335edef796f1099f9c7f20aafb77a3.perform(ra_action_readexcel_17335edef796f1099f9c7f20aafb77a3.java:87) ~[?:?]     at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3602) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10860) ~[prprivate.jar:?]     at com.pegarules.generated.activity.ra_action_loadexcelsofferings_6eac14707dc86117cb2bbe2a4e2be7e3.step8_circum0(ra_action_loadexcelsofferings_6eac14707dc86117cb2bbe2a4e2be7e3.java:754) ~[?:?]     at com.pegarules.generated.activity.ra_action_loadexcelsofferings_6eac14707dc86117cb2bbe2a4e2be7e3.perform(ra_action_loadexcelsofferings_6eac14707dc86117cb2bbe2a4e2be7e3.java:192) ~[?:?]     at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3602) ~[prprivate.jar:?]     at com.pegarules.generated.activity.ra_action_reloadsection_ec27e02b5e2e9a6a6fae844524a68b26.step5_circum0(ra_action_reloadsection_ec27e02b5e2e9a6a6fae844524a68b26.java:756) ~[?:?]     at com.pegarules.generated.activity.ra_action_reloadsection_ec27e02b5e2e9a6a6fae844524a68b26.perform(ra_action_reloadsection_ec27e02b5e2e9a6a6fae844524a68b26.java:138) ~[?:?]     at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3602) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:481) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3492) ~[prprivate.jar:?]     at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:407) ~[prenginext.jar:?]     at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) ~[?:?]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]     at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]     at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1338) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:930) ~[prprivate.jar:?]     at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:340) ~[prenginext.jar:?]     at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:868) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) ~[prprivate.jar:?]     at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225) ~[prprivate.jar:?]     at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) ~[?:?]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]     at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:246) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168) ~[prbeans.jar:7.3.1-218]     at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source) ~[prbeans.jar:7.3.1-218]     at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) ~[prpublic.jar:?]     at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) ~[prpublic.jar:?]     at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:687) ~[prwebj2ee.jar:?]     at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:400) ~[prwebj2ee.jar:?]     at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) ~[?:?]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]     at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]     at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:129) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) ~[javax.j2ee.servlet.jar:?]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) ~[javax.j2ee.servlet.jar:?]     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4054) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213) ~[com.ibm.ws.webcontainer.jar:?]     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) ~[com.ibm.ws.runtime.jar:?]     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) ~[com.ibm.ws.runtime.jar:?]

Pega Platform 7.3.1 Case Management Data Integration