Fixes are available
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
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
WLP 18.0.0.2, their application use CDI 1.2. Its very sporadic but they see NPE when starting / restarting WLPs when launching a WAR file. Exception = org.jboss.weld.exceptions.DefinitionException Stack Dump = org.jboss.weld.exceptions.DefinitionException at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fir ePro cessAnnotatedType(ContainerLifecycleEvents.java:182) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fir ePro cessAnnotatedType(ContainerLifecycleEvents.java:166) at org.jboss.weld.bootstrap.BeanDeployer.processAnnotatedTypes( Bean Deployer.java:156) at org.jboss.weld.bootstrap.BeanDeployment.createTypes(BeanDepl oyme nt.java:245) at org.jboss.weld.bootstrap.WeldStartup.startInitialization(Wel dSta rtup.java:407) at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(W eldB ootstrap.java:76) at com.ibm.ws.cdi.impl.CDIContainerImpl$2.run(CDIContainerImpl. java :144) Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHash Map. java:1022) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap .jav a:1017) at com.ibm.ws.microprofile.config.sources.SystemConfigSource.ge tPro perties(SystemConfigSource.java:43) at com.ibm.ws.microprofile.config.sources.SystemConfigSource.ge tPro perties(SystemConfigSource.java:28) at com.ibm.ws.microprofile.config.sources.InternalConfigSource. getV alue(InternalConfigSource.java:41) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(S tati cMethodInjectionPoint.java:88)
Local fix
Add Null Guard
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty mpConfig feature * **************************************************************** * PROBLEM DESCRIPTION: NullPointerException prevents * * application from starting when mpConfig * * feature is enabled * **************************************************************** * RECOMMENDATION: * **************************************************************** When the WebSphere Application Server Liberty mpConfig feature is enabled, applications may intermittently fail to start and the following exception will be seen: Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap. java:1022) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.jav a:1017) at com.ibm.ws.microprofile.config.sources.SystemConfigSource.getPro perties(SystemConfigSource.java:43) The SystemConfigSource class calls System.getProperties() and builds a map from the results. If System.getProperties() returns a null property name, this triggers a NullPointerException when the null value is used as a key in a ConcurrentHashMap.
Problem conclusion
A simple null check was added to prevent this exception. The fix for this APAR is currently targeted for inclusion in fix pack 18.0.0.4. 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
PH02212
Reported component name
LIBERTY PROFILE
Reported component ID
5724J0814
Reported release
855
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-08-27
Closed date
2018-12-06
Last modified date
2018-12-06
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
LIBERTY PROFILE
Fixed component ID
5724J0814
Applicable component levels
R855 PSY
UP
Document Information
Modified date:
15 October 2021