[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1792) NPE on org.jboss.ejb3.BaseSessionContext.isCallerInRole
Dmitri Voronov (JIRA)
jira-events at lists.jboss.org
Wed Mar 25 10:49:22 EDT 2009
NPE on org.jboss.ejb3.BaseSessionContext.isCallerInRole
-------------------------------------------------------
Key: EJBTHREE-1792
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1792
Project: EJB 3.0
Issue Type: Bug
Components: ejb3
Affects Versions: AS 4.2.3.GA
Reporter: Dmitri Voronov
We get NPE on calling org.jboss.ejb3.BaseSessionContext.isCallerInRole(String roleName) if the in ejb-jar.xml defines:
<security-role-ref>
<role-name>aRole</role-name>
</security-role-ref>
(without role-link) and roleName = aRole, because further method tries to use the role-link which is null. role-link is actually optional according to EJB3.0 specification.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list