]
jaikiran pai resolved EJBTHREE-1991.
------------------------------------
Resolution: Done
Potential NPE in EjbReferenceResolverBase
-----------------------------------------
Key: EJBTHREE-1991
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1991
Project: EJB 3.0
Issue Type: Bug
Components: common, core
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: EJB3_1 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: