Fixes are available
8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.5.0.1: WebSphere Application Server V8.5 Fix Pack 1
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.5.0.2: WebSphere Application Server V8.5 Fix Pack 2
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
APAR status
Closed as program error.
Error description
Following exception seen Caused by: javax.ejb.NoSuchEJBException: An error occurred during initialization of singleton session bean APP#EJB.jar#Loader, resulting in the discarding of the singleton instance.; nested exception is: java.lang.NullPointerException Caused by: java.lang.NullPointerException at com.ibm.ws.webbeans.services.JCDIComponentImpl.newInstanceWithCo nstructorInjection(JCDIComponentImpl.java:1058) at com.ibm.ws.runtime.component.WASJCDIHelper.newInstanceWithConstr uctorInjection(WASJCDIHelper.java:108) at com.ibm.ejs.container.EJSHome.createSingletonBeanO(EJSHome.java: 4983) at com.ibm.ejs.csi.EJBApplicationMetaData.createStartupBeans(EJBApp licationMetaData.java:971) at com.ibm.ejs.csi.EJBApplicationMetaData.startedModule(EJBApplicat ionMetaData.java:695) at com.ibm.ws.runtime.component.EJBContainerImpl.stateChanged(EJBCo ntainerImpl.java:5501) at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(App licationMgrImpl.java:1083)
Local fix
If project contains the beans.xml deleting beans.xml will workaround the issue
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server version * * 8.0 users of Contexts and Dependency * * Injection (CDI) and Enterprise JavaBeans * * (EJBs) * **************************************************************** * PROBLEM DESCRIPTION: A NullPointerException is thrown during * * application start of an EJB module that * * contains an @Startup EJB and a * * beans.xml. * **************************************************************** * RECOMMENDATION: * **************************************************************** The CDI container is not initialized when the @Startup EJBs are starting, which leads to an NullPointerException when the EJB Container calls into CDI for constructor injection.
Problem conclusion
Prevented CDI from attempting to do constructor injection when the container is not yet started. The fix for this APAR is currently targeted for inclusion in fix pack 8.0.0.3. 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
PM51619
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-11-04
Closed date
2011-12-19
Last modified date
2011-12-19
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
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
28 October 2021