Fix (APAR): PH37788 Status: Fix Release: 9.0.5.8 Operating System: AIX,HP-UX,IBM i,Linux,Solaris,Windows,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 262414 Date: 2021-09-03 Abstract: use first found ejbdescriptor for mdb Description/symptom of problem: PH37788 resolves the following problem: ERROR DESCRIPTION: Use first found ejbDescriptor for MDB , all platforms , 21.0.0.3, sev 3 , the exception is [18.05.21 20:32:17:840 MESZ] 0000002e ibm.ws.cdi.impl.managedobject.CDIEJBManagedObjectFactoryImpl E Could not find an EjbDescriptor for : LEIUpdate [18.05.21 20:32:17:841 MESZ] 0000002e com.ibm.ejs.container.LocalExceptionMappingStrategy E CNTR0019E: EJB hat eine unerwartete (nicht deklarierte) Ausnahme beim Aufruf der Methode "onMessage" ausgel??st. Ausnahmedaten: java.lang.NullPointerException at LOCAL FIX: N/A PROBLEM SUMMARY: USERS AFFECTED: All users of IBM WebSphere Application Server Liberty - Contexts and Dependency Injection (CDI) PROBLEM DESCRIPTION: NullPointerException during invocation of Message Driven Bean RECOMMENDATION: None You will see an error such as CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage". Exception data: java.lang.NullPointerException when running an application that uses CDI and message driven beans. PROBLEM CONCLUSION: Code was added to allow CDI to recognise that MDBs should not return a bean from an ejbDescriptor and allow CDI to work regardless. The fix for this APAR is currently targeted for inclusion in fix pack 9.0.5.9 and liberty 21.0.0.7 Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.8.5 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before applying the iFixes. Restart WebSphere Application Server after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before removing the iFixes. Restart WebSphere Application Server after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server. Additional Information: