Support #13749

[SCP ID :##6872##] : 3rd party favourite add/maintenance - session expired

Added by Zahir Abd Latif 10 months ago. Updated 10 months ago.

Status:Pending SIT DeploymentStart date:December 01, 2023
Priority:NormalDue date:
Assignee:Binti Johari Aishah Maisarah% Done:

100%

Category:BIBSpent time:-
Target version:-

Description

Hi,
Kindly attend below request:-

We found issue on 3rd party favourite add/maintenance which system will prompt session expired screen when click back/confirm button. Please check and provide fixes.

Error from log

[11/29/23 12:07:53:556 SGT] 00000151 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause action: javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: begin 0, end 1, length 0
??at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
??at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
??at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
??at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
??at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
??at com.ib.common.utils.IBActionServlet.doPost(IBActionServlet.java:82)
??at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
??at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
??at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
??at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
??at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
??at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
??at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
??at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
??at my.com.bib.web.utils.SetSessionTimeout.doFilter(SetSessionTimeout.java:100)
??at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
??at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
??at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:979)
??at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1119)
??at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4238)
??at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2210)
??at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
??at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1033)
??at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
??at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
??at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
??at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
??at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
??at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
??at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
??at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
??at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
??at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
??at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
??at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
??at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
??at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
??at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 1, length 0
??at java.lang.String.substring(String.java:2744)
??at com.ib.bib.controller.actions.ib104_fundtransfer.third_party.maintenance.IBThirdPartyMaintenanceConfirmAction.execute(IBThirdPartyMaintenanceConfirmAction.java:58)
??at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

History

#1 Updated by Binti Johari Aishah Maisarah 10 months ago

  • Status changed from New - Begin Life Cycle to Pending SIT Deployment
  • Assignee changed from Siti Balqis Othman to Binti Johari Aishah Maisarah
  • Start date changed from November 30, 2023 to December 01, 2023
  • % Done changed from 0 to 100

Finding: Based on the log file bank provided. The issue is due to the program unable to retrieve the first digit of the account number due to empty value.

Expected result/ program:
This process to retrieve the first digit account number is not applicable for the edit maintenance process because the account number is not under editable field.

Resolution:
The process to retrieve the first digit of account number will be removed under the add and edit maintenance process and add handling to check on the empty account value.

Also available in: Atom PDF