[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-2119) Injection of an EJB from a separate application results in a NullPointerException
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Thu Jun 24 05:42:46 EDT 2010
[ https://jira.jboss.org/browse/EJBTHREE-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536912#action_12536912 ]
Carlo de Wolf commented on EJBTHREE-2119:
-----------------------------------------
2010-06-17 11:16:24,762 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.j2ee:jar=test-slsb-b.jar,name=BeanBImpl,service=EJB3 state=Create
java.lang.NullPointerException
at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getRemoteAndBusinessRemoteInterfaces(ProxyFactoryHelper.java:613)
at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getJndiName(ProxyFactoryHelper.java:419)
at org.jboss.ejb3.Ejb3Deployment.getEjbJndiName(Ejb3Deployment.java:419)
at org.jboss.ejb3.EJBContainer.getEjbJndiName(EJBContainer.java:1528)
at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:80)
at org.jboss.ejb3.EJBContainer.lockedStart(EJBContainer.java:911)
at org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:200)
at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:599)
at org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:192)
at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:895)
> Injection of an EJB from a separate application results in a NullPointerException
> ---------------------------------------------------------------------------------
>
> Key: EJBTHREE-2119
> URL: https://jira.jboss.org/browse/EJBTHREE-2119
> Project: EJB 3.0
> Issue Type: Bug
> Components: ejb3
> Affects Versions: 1.1.22
> Reporter: Mike Clark
> Priority: Minor
>
> When an EJB in injected via the @EJB annotation from a separately deployed jar (i.e., the injected EJB is not in the same jar or same ear as the @EJB annotated EJB) and the mappedName attribute is not specified, a NPE results on deployment.. This exception should be replaced with a more appropriate, and informative exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list