[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-991) Broken javax.ejb.SessionContext.getBusinessObject() for EJB3 stateful local Interfaces

William DeCoste (JIRA) jira-events at lists.jboss.org
Tue Jun 12 15:34:12 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-991?page=all ]

William DeCoste closed EJBTHREE-991.
------------------------------------

    Fix Version/s: Branch_4_2
       Resolution: Done

> Broken javax.ejb.SessionContext.getBusinessObject() for EJB3 stateful local Interfaces
> --------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-991
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-991
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: EJB 3.0 RC9 - Patch 1
>            Reporter: Roland Räz
>         Assigned To: William DeCoste
>             Fix For: Branch_4_2
>
>
> javax.ejb.SessionContext.getBusinessObject() results in a NullPointerException when used in a stateful session bean without remote interface.
> Reason: in org.jboss.ejb3.stateful.StatelessContainer.getBusinessObject() iterates over the remote Interfaces instead of the local interfaces after checking that the local interfaces are != null. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list