PQ88711: java.lang.StringIndexOutOfBoundsException:in PmiRmCorrelator.jav | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Cu getting "String index out of range:" in PmiRmCorrelator even when PMI is disabled, which will result in java.lang.IllegalStateException: 33 response bytes written, but Content-Length header equals 41 Following is the stack Trace --------------------------------------- [Servlet Error]-[String index out of range: -5]: java.lang.StringIndexOutOfBoundsException: String index out of range: com.ibm.ws.pmi.reqmetrics.PmiRmCorrelator.getPmiRmCorrelatorFrom String(PmiRmCorrelator.java(Compiled Code)) 2)[4/30/04 11:55:27:949 PDT] 4a3c7223 WebGroup E SRVE0026E: [Servlet Error]-[PdfServlet]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Internal Server Error 4/30/04 11:55:27:963 PDT] 4a3c7223 SRTServletRes W WARNING: Cannot set header. Response already committed. [4/30/04 11:55:27:995 PDT] 4a3c7223 HttpConnectio E HttpConnection.run: java.lang.IllegalStateException: 33 response bytes written, but Content-Length header equals 41 [4/30/04 11:55:27:998 PDT] 4a3c7223 SystemOut O at com.ibm.ws.http.HttpResponse.finish(HttpResponse.java(Compiled Code))Local fix Problem summary **************************************************************** * USERS AFFECTED: Users turning on PMI request metrics * * and sending requests via a web server. * **************************************************************** * PROBLEM DESCRIPTION: The correlator parsing code in * * PmiRmCorrelator had a bug causing * * StringOutOfIndex exception. * **************************************************************** * RECOMMENDATION: * **************************************************************** To fix the StringOutOfIndex exception in PmiRmCorrelator, change the hard-coded index to the calculated index derived from the correlator pattern. Also catch the exception in PmiRmCorrelator so that the exception will be logged but will not impact the other components.Problem conclusion The StringOutOfIndex problem is fixed.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ88711
IBM Group: Software Group
Modified date: Jun 21, 2004
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.