-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
jboss-ejb3-core:1.2.1 jboss-ejb3-common:1.0.2
See JBAS-7631.
The org.jboss.ejb3.common.resolvers.spi.EjbReferenceResolverBase#getMatch(EjbReference reference, JBossMetaData metadata, ClassLoader cl) cannot handle null metadata. Rightly so. The code calling this method (for ex: org.jboss.ejb3.core.resolvers.ScopedEJBReferenceResolver#find(DeploymentUnit du, EjbReference reference)) must do a null check on the metadata being passed. Also update the javadoc of the EjbReferenceResolverBase#getMatch method to explicitly mention this.
- blocks
-
JBAS-7631 NPE in EjbReferenceResolverBase.getMatch() method
- Closed