-
Notifications
You must be signed in to change notification settings - Fork 625
Description
Describe the bug
A clear and concise description of what the bug is.
[12/1/25, 4:15:03:133 EST] 00000102 BusinessExcep E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "methodA" on bean "BeanId(EAR_ABC#EJB_ABC_1.0.0.jar#xxxejb.MessageSender, null)". Exception data: java.util.NoSuchElementException
at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1608)
at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1629)
at com.ibm.ws.ejbcontainer.security.internal.EJBSecurityCollaboratorImpl.authorizeEJB(EJBSecurityCollaboratorImpl.java:457)
at com.ibm.ws.ejbcontainer.security.internal.EJBSecurityCollaboratorImpl.preInvoke(EJBSecurityCollaboratorImpl.java:223)
at com.ibm.ws.ejbcontainer.security.internal.EJBSecurityCollaboratorImpl.preInvoke(EJBSecurityCollaboratorImpl.java:75)
at com.ibm.ejs.container.EJSContainer.notifySecurityCollaboratorPreInvoke(EJSContainer.java:3149)
at com.ibm.ejs.container.EJSContainer.preInvokeAfterActivate(EJSContainer.java:3094)
at com.ibm.ejs.container.EJSContainer.EjbPreInvoke(EJSContainer.java:2396)
at ...
Steps to Reproduce
This is user reported issue.
Recreation has been intermittent
Expected behavior
The error should not be thrown
Diagnostic information:
- OpenLiberty Version: Reported on 25.0.0.11
- Affected feature(s) ejb security related
- Java Version: Java 25. This error was not seen on Java 21.
Additional context
Add any other context about the problem here.