PK21262: JAVA.LANG.NULLPOINTEREXCEPTION IS THROWN BY THE CACHEMONITOR APPLICATION

 Fixes are available

5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for AIX
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for HP-UX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Linux
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for HP-UX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Windows
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Solaris
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for AIX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for AIX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Windows
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Solaris
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Linux
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for HP-UX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for AIX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Solaris
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for AIX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Linux
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for HP-UX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for AIX
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Windows
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for AIX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Windows
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Linux
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for HP-UX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for AIX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Linux
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for HP-UX



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=swg27004980
Temporary fix Comments
APAR information
APAR number PK21262
Reported component name WAS NETWRK DEPL
Reported component ID 5630A3601
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2006-03-09
Closed date 2006-03-14
Last modified date 2006-05-11

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
DYNACACH          

Publications Referenced

Fix information
Fixed component name WAS NETWRK DEPL
Fixed component ID 5630A3601

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00P PSY    UP
R00S PSY    UP
R00W PSY    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


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