Exception Analysis/Understanding Required

Dear All,

There is an exception java.lang.ArrayIndexOutOfBoundsException with the message ‘null’.

  • What is this exception?
  • What can be the business impact of this exception?
  • Is this because of the WAS?
  • Is this because of the Oracle?
  • Is this because of the driver?

Regards,

Babar

Hi Babar-

I don’t have a ton of context with this, but all I can tell is that almost all of the contribution time comes from the execution of the statement (which is to be expected) and/or the underlying components you have blocked out. You need to look at the extra contributing factors beyond just this one screenshot, but it does appear to be coming from the prepared statements in the web server.

-Bob C

Hello @Bob C.

Thank you for your comments. The following is the exception stacktrace for your analysis:

oracle.jdbc.driver.DynamicByteArray.put(DynamicByteArray.java:519)<br>oracle.jdbc.driver.ByteArray.put(ByteArray.java:234)<br>oracle.jdbc.driver.T2CPreparedStatement.updateData(T2CPreparedStatement.java:2332)<br>oracle.jdbc.driver.T2CStatement.t2cDefineExecuteFetch(T2CStatement.java)<br>oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1578)<br>oracle.jdbc.driver.T2CPreparedStatement.executeForRows(T2CPreparedStatement.java:938)<br>oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:957)<br>oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1111)<br>oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4798)<br>oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:4845)<br>oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1501)<br>com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteQuery(WSJdbcPreparedStatement.java:1221)<br>com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java:739)<br>com.ibm.ws.session.store.db.DatabaseHashMap.isPresent(DatabaseHashMap.java:1886)<br>com.ibm.ws.session.store.common.BackedStore.isPresentInExternalStore(BackedStore.java:83)<br>com.ibm.ws.session.store.memory.MemoryStore.idExists(MemoryStore.java:243)<br>com.ibm.ws.session.SessionManager.createISession(SessionManager.java:243)<br>com.ibm.ws.session.SessionManager.createSession(SessionManager.java:736)<br>com.ibm.ws.session.SessionContext.getIHttpSession(SessionContext.java:506)<br>com.ibm.ws.session.SessionContext.getIHttpSession(SessionContext.java:427)<br>com.ibm.ws.webcontainer.srt.SRTRequestContext.getSession(SRTRequestContext.java:113)<br>com.ibm.ws.webcontainer.srt.SRTServletRequest.getSession(SRTServletRequest.java:2212)<br>com.ibm.ws.webcontainer.srt.SRTServletRequest.getSession(SRTServletRequest.java:2196)<br>org.springframework.web.util.WebUtils.setSessionAttribute(WebUtils.java:338)<br>org.springframework.web.servlet.i18n.SessionLocaleResolver.setLocaleContext(SessionLocaleResolver.java:113)<br>org.springframework.web.servlet.i18n.AbstractLocaleContextResolver.setLocale(AbstractLocaleContextResolver.java:66)<br>org.springframework.web.servlet.i18n.LocaleChangeInterceptor.preHandle(LocaleChangeInterceptor.java:73)<br>com.ejada.ecorp.sessionmgmt.ECorpLocaleChangeInterceptor.preHandle(ECorpLocaleChangeInterceptor.java:39)<br>org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)<br>org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)<br>org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)<br>org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)<br>org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:575)<br>org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:668)<br>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)<br>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)<br>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)<br>com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)<br>com.ejada.ecorp.sessionmgmt.serverrequests.ServerRequestParametersFilter.doFilter(ServerRequestParametersFilter.java:90)<br>com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)<br>com.ejada.ecorp.sessionmgmt.DenyJSPAccessFilter.doFilter(DenyJSPAccessFilter.java:72)<br>com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)<br>org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)<br>org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)<br>com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)<br>com.ejada.ecorp.sessionmgmt.DenyWebResourcesAccessFilter.doFilter(DenyWebResourcesAccessFilter.java:55)<br>com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)<br>com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)<br>com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)<br>com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)<br>com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)<br>com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)<br>com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)<br>com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213)<br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)<br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)<br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)<br>com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)<br>com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:558)<br>com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:608)<br>com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:985)<br>com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1074)<br>com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)<br>

Regards,

Babar

Hello Babar,

You don’t have any exception from the service  who call  Oracle?

regards

Julien D.