[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1130) NPE on combination: @Remote and @LocalBinding

Frank Cornelis (JIRA) jira-events at lists.jboss.org
Tue Nov 27 07:27:46 EST 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1130?page=comments#action_12389281 ] 
            
Frank Cornelis commented on EJBTHREE-1130:
------------------------------------------

Apparently ProxyFactoryHelper.getLocalAndBusinessLocalInterfaces returns null within:

localInterfaces.addAll(Arrays.asList(ProxyFactoryHelper.getLocalAndBusinessLocalInterfaces(container)));

while the documentation on the method getLocalAndBusinessLocalInterfaces states: "@return the local interfaces of the container or an empty array"

> NPE on combination: @Remote and @LocalBinding
> ---------------------------------------------
>
>                 Key: EJBTHREE-1130
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1130
>             Project: EJB 3.0
>          Issue Type: Feature Request
>    Affects Versions: AS 4.2.2.GA
>            Reporter: Frank Cornelis
>         Assigned To: Andrew Lee Rubinger
>         Attachments: EJBTHREE-1130.zip
>
>
> When you have a @Remote interface with implementation a @LocalBinding bean you just receive a java.lang.NullPointerException on the corresponding EJB3 MBean. It would help a lot if the error message would be some more verbose.

-- 
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