Fixes are available
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
APAR status
Closed as program error.
Error description
Users of WebSphere Liberty jsf-2.0 might notice a NullPointerException logged during server shutdown. The exception will have a similar stack: FFDC1015I: An FFDC Incident has been created: "java.lang.NullPointerException: type com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDe stroyed 1405" at ffdc_... SRVE0285E: Exception caught while destroying context: java.lang.NullPointerException: type at org.apache.myfaces.shared_impl.util.ClassUtils.classForName( ClassUtils.java:180) at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassFo rName(ClassUtils.java:224) at com.ibm.ws.jsf.ext.LibertyWebConfigProvider.getFacesServletM appings(LibertyWebConfigProvider.java:69) at org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFa ces(AbstractFacesInitializer.java:290) at org.apache.myfaces.webapp.StartupServletContextListener.cont extDestroyed(StartupServletContextListener.java:153) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDe stroyed(WebApp.java:2602) at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:39 37) ... This exception occurs because the JSF 2.0 code attempts to load a servlet class that has already been destroyed. This exception causes no functional problems, and can be safely ignored.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Liberty * * users of JavaServer Faces (JSF) Apache * * MyFaces 2.0 * **************************************************************** * PROBLEM DESCRIPTION: A NullPointerException is logged during * * server shutdown when JSF 2.0 is in use * **************************************************************** * RECOMMENDATION: * **************************************************************** Users of WebSphere Liberty jsf-2.0 might notice a NullPointerException logged during server shutdown. The exception will have a similar stack: SRVE0285E: Exception caught while destroying context: java.lang.NullPointerException: type at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(Clas sUtils.java:180) at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForNam e(ClassUtils.java:224) at com.ibm.ws.jsf.ext.LibertyWebConfigProvider.getFacesServletMappi ngs(LibertyWebConfigProvider.java:69) at org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces( AbstractFacesInitializer.java:290) at org.apache.myfaces.webapp.StartupServletContextListener.contextD estroyed(StartupServletContextListener.java:153) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDestro yed(WebApp.java:2602) at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:3937) ... This exception occurs because the JSF 2.0 code attempts to load a servlet class that has already been destroyed. The exception causes no functional problems, and can be safely ignored
Problem conclusion
The Liberty JSF 2.0 code was updated to avoid attempting to load classes which have already been destroyed. The fix for this APAR is currently targeted for inclusion in fix pack 19.0.0.1. 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
PH06135
Reported component name
WAS LIBERTY COR
Reported component ID
5725L2900
Reported release
CD0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-12-04
Closed date
2018-12-20
Last modified date
2018-12-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WAS LIBERTY COR
Fixed component ID
5725L2900
Applicable component levels
RCD0 PSY
UP
Document Information
Modified date:
14 October 2021