PK21262: JAVA.LANG.NULLPOINTEREXCEPTION IS THROWN BY THE CACHEMONITOR APPLICATION | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When you install CacheMonitor application to WebSphere, & if the client does not send a request with the "Accept-Language" HTTP header on the request for the CacheMonitor application, this error is logged in WebSphere logs: . [3/3/06 20:34:46:481 CET] 5e724810 WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException at org.apache.jsp._navigator._jspService(_navigator.java:77) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspB ase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWr apper.java:271) at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java :248) at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java: 141) at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.j ava:253) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper .service(JspServlet.java:371) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(Js pServlet.java:736) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServle t.java:834) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService( StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service( StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(St rictLifecycleServlet.java:333) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(S trictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletI nstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispa tch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatc h(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWeb AppDispatch(WebAppRequestDispatcher.java:1147) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch( WebAppRequestDispatcher.java:643) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(W ebAppRequestDispatcher.java:207) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoke r.java:80) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(W ebAppInvoker.java:223) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handle Invocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByUR I(ServletRequestProcessor.java:222) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.servic e(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpCo nnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnecti on.java:622) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:447) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) . RFC2616 (HTTP 1.1 spec) does not require that the "Accept-Language" header field must be given in the request so the CacheMonitor application has to be updated to handle a non-existent or NULL "Accept-Language" HTTP header on the request.Local fix To configure the client so that it will provide the "Accept-Language" HTTP header on the request.Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * Cache Monitor Application. * **************************************************************** * PROBLEM DESCRIPTION: NullPointerException thrown by the * * CacheMonitor Application if the client * * does not set a request with the * * "Accept-Language" HTTP header. * **************************************************************** * RECOMMENDATION: * **************************************************************** NIf the client does not send a request with the "Accept-Language" HTTP header on the request for the CacheMonitor application,this error is logged in the Application Server logs: [3/3/06 20:34:46:481 CET] 5e724810 WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException at org.apache.jsp._navigator._jspService (_navigator.java:77) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service (HttpJspBase.java:89)Problem conclusion Added a check for null and if the "Accept-Language" HTTP header set the locale to "en". The fix for this APAR is currently targeted for inclusion in cumulative fixes 5.02.17 and 5.1.1.11. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980Temporary 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 #: PK21262
IBM Group: Software Group
Modified date: May 11, 2006
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.