[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1130) NPE on combination: @Remote and @LocalBinding
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Dec 13 02:48:52 EST 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-1130?page=comments#action_12391901 ]
Andrew Lee Rubinger commented on EJBTHREE-1130:
-----------------------------------------------
New exception on deployment:
java.lang.RuntimeException: No local interfaces have been defined for jboss.j2ee:jar=ejbthree1130.jar,name=TestBean,service=EJB3; specified LocalBinding JNDI Binding "TestBean/remote" is invalid. [EJBTHREE-1130]
No longer only a log warning, but should act as a fail-fast mechanism to the developer; fix the configuration, and detail as to why/where.
> 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-local-interfaces-npe.patch, 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