IOS error on AGS calls

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Ragu Raghavan
Veteran Member
Posts: 476
Veteran Member

    Env 10.0.9, Windows

    Apps: 10.0.MSP7

    so I have this new custom 4GL screen. Works in LID and Portal. However when I try to do an AGS call from Design Studio or IPD, it bombs with a message : Check IOS.log for details.

    The log has these entries. Can anybody point me to where I should be troubleshooting? I am able to do AGS calls on other screens, Lawson delivered or custom. Just this one screen bombs. Thanks.

     

    2020-02-26 11:14:05,266 ERROR [WebContainer : 0] [lawson      ] [TRANSACTION ] [Router]
    com.lawson.tesla.agent.TransactionException: TRANSACTION_ERROR
        at com.lawson.tesla.exec.Tesla.invoke(Tesla.java:381)
        at com.lawson.tesla.agent.ErpTransactionAgent.processRequest(ErpTransactionAgent.java:218)
        at com.lawson.ios.agent.container.AgentWrapper.processRequest(AgentWrapper.java:139)
        at com.lawson.tesla.broker.TransactionBroker.processRequest(TransactionBroker.java:82)
        at com.lawson.ios.agent.container.AgentWrapper.processRequest(AgentWrapper.java:139)
        at com.lawson.ios.agent.container.AgentContainerImpl.processRequest(AgentContainerImpl.java:239)
        at com.lawson.ios.servlet.Router.doGet(Router.java:233)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
        at com.lawson.servlet.TransformFilter.doFilter(TransformFilter.java:154)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.lawson.servlet.ParameterFilter.doFilter(ParameterFilter.java:90)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.lawson.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:121)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.lawson.servlet.CallLoggingFilter.doFilter(CallLoggingFilter.java:117)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.lawson.servlet.XSSValidatorFilter.doFilter(XSSValidatorFilter.java:130)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:947)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)

        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
        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:1892)
    Caused by:
    java.lang.StringIndexOutOfBoundsException
        at java.lang.String.substring(String.java:1240)
        at com.lawson.rdtech.crtio.UserTimeHMS.(Unknown Source)
        at com.lawson.rdtech.crtio.DynamicCrtioMsg.setFldValue(Unknown Source)
        at com.lawson.rdtech.crtio.DynamicCrtioMsg.setFlds(Unknown Source)
        at com.lawson.tesla.exec.Tesla.createCrtioBuffer(Tesla.java:1201)
        at com.lawson.tesla.exec.Tesla.invoke(Tesla.java:321)
        ... 47 more
    2020-02-26 11:14:05,266 INFO  [WebContainer : 0] [            ] [            ] [IOSSecurityContext] Destroying security context for

    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      Never mind. There was a Time-stamp field, that I was populating with HHMMSS. Looks like even though it is stored in the DB as HHMMSS, code need to format it as HH:MM:SS. Works now.